CVE-2025-67746
Composer is vulnerable to ANSI sequence injection
Description
### Impact 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 Composer still published a CVE as it has potential for abuse, and Composer wants to be on the safe side informing users that they should upgrade. ### Patches 2.2.26 for 2.2 LTS or 2.9.3 for mainline.
How to fix CVE-2025-67746
To remediate CVE-2025-67746, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.26 or later
- —no fix listed
- —upgrade to 2.2.26 or later
Is CVE-2025-67746 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 2.0.0, < 2.2.26, >= 2.3.0, < 2.9.3
- from 0
- >= 2.0.0, < 2.2.26
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |