composer/composer
Affected
- introduced
2.0.0, fixed2.2.26(ecosystem)
Fixed versions
2.2.26
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-composer-2025-67746, CVE-2025-67746
Composer is vulnerable to ANSI sequence injection
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.
Low Basis: The source's own band: LOW
2.0.0, fixed 2.2.26 (ecosystem)2.2.26
The export has no generic command for this ecosystem.
2.3.0, fixed 2.9.3 (ecosystem)2.9.3
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0