CVE-2025-67746
LOW 1.3CVSS 4.0Composer is vulnerable to ANSI sequence injection
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.
- Published
- 30 Dec 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- BIT-composer-2025-67746GHSA-59pp-r3rg-353g
- Sources
- NVDJSONOSV GHSA-59pp-r3rg-353gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 1.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getcomposer | composercpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.2.26 | 2.2.26 |
| NVD | getcomposer | composercpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.9.3 | 2.9.3 |
| OSV | Packagist | composer/composer | >= 2.0.0, < 2.2.26 | 2.2.26 |
| OSV | Packagist | composer/composer | >= 2.3.0, < 2.9.3 | 2.9.3 |
References
- https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 · Patch, WEB
- https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 · Patch, WEB
- https://github.com/composer/composer/releases/tag/2.2.26 · Product, Release Notes, WEB
- https://github.com/composer/composer/releases/tag/2.9.3 · Product, Release Notes, WEB
- https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67746 · ADVISORY
- https://github.com/composer/composer · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Dec 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Dec 2025)