Vulnerability in Composer
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (36.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 36.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: -0.000
Affected products
- Composer — versions >= 2.0, < 2.2.26, >= 2.3, < 2.9.3
- Getcomposer Composer
Weakness classification (CWE)
References
- github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g (Vendor Advisory)
- github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917 (Patch)
- github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71 (Patch)
- github.com/composer/composer/releases/tag/2.2.26 (Product, Release Notes)
- github.com/composer/composer/releases/tag/2.9.3 (Product, Release Notes)
Frequently asked questions
- What is CVE-2025-67746?
- CVE-2025-67746 is a medium-severity vulnerability in Composer, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 4.3/10. Published 2025-12-30.
- How severe is CVE-2025-67746?
- Medium severity. CVSS v3 base score is 4.3 out of 10.