Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getcomposer | Composer | >= 2.0.0, < 2.2.26 |
Related Weaknesses (CWE)
References
- https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586daPatch
- https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a4Patch
- https://github.com/composer/composer/releases/tag/2.2.26ProductRelease Notes
- https://github.com/composer/composer/releases/tag/2.9.3ProductRelease Notes
- https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353gVendor Advisory
FAQ
What is CVE-2025-67746?
CVE-2025-67746 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 contr...
How severe is CVE-2025-67746?
CVE-2025-67746 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-67746?
Check the references section above for vendor advisories and patch information. Affected products include: Getcomposer Composer.