CVE-2025-67746

Composer is a dependency manager for PHP. In versions on the 2.x branch prior to 2.2.26 and 2.9.3, attackers controlling remote sources that Composer downloads from might in some way inject ANSI control characters in the terminal output of various Composer commands, causing mangled output and potentially leading to confusion or DoS of the terminal application. There is no proven exploit and this has thus a low severity but we still publish a CVE as it has potential for abuse, and we want to be on the safe side informing users that they should upgrade. Versions 2.2.26 and 2.9.3 contain a patch for the issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*

History

17 Jun 2026, 09:58

Type Values Removed Values Added
Summary
  • (es) Composer es un gestor de dependencias para PHP. En versiones de la rama 2.x anteriores a la 2.2.26 y 2.9.3, atacantes que controlan fuentes remotas de las que Composer descarga podrían de alguna manera inyectar caracteres de control ANSI en la salida de terminal de varios comandos de Composer, causando una salida distorsionada y potencialmente llevando a confusión o DoS de la aplicación de terminal. No hay un exploit probado y esto tiene por lo tanto una baja severidad, pero aún publicamos un CVE ya que tiene potencial de abuso, y queremos estar seguros informando a los usuarios de que deben actualizar. Las versiones 2.2.26 y 2.9.3 contienen un parche para el problema.

25 Feb 2026, 14:54

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3
References () https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 - () https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 - Patch
References () https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 - () https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 - Patch
References () https://github.com/composer/composer/releases/tag/2.2.26 - () https://github.com/composer/composer/releases/tag/2.2.26 - Product, Release Notes
References () https://github.com/composer/composer/releases/tag/2.9.3 - () https://github.com/composer/composer/releases/tag/2.9.3 - Product, Release Notes
References () https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g - () https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g - Vendor Advisory
CPE cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
First Time Getcomposer
Getcomposer composer

30 Dec 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-30 16:15

Updated : 2026-06-17 09:58


NVD link : CVE-2025-67746

Mitre link : CVE-2025-67746

CVE.ORG link : CVE-2025-67746


JSON object : View

Products Affected

getcomposer

  • composer
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')