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.
References
| Link | Resource |
|---|---|
| https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 | Patch |
| https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 | Patch |
| https://github.com/composer/composer/releases/tag/2.2.26 | Product Release Notes |
| https://github.com/composer/composer/releases/tag/2.9.3 | Product Release Notes |
| https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
25 Feb 2026, 14:54
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.3 |
| References | () https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 - Patch | |
| References | () https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 - Patch | |
| References | () https://github.com/composer/composer/releases/tag/2.2.26 - Product, Release Notes | |
| References | () 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 - 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-02-25 14:54
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')
