CVE-2025-67746: Composer vulnerable to ANSI sequence injection
Vulnerability summary
CVE-2025-67746 is a medium (CVSS 4.3) vulnerability in composer. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities.
Not severe (CVSS 1.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 30-12-2025PublishedVulnerability first disclosed.
- 30-12-2025Last modifiedVulnerability information updated.
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 metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS: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:UDiffers
- NVDNIST1.3LowCVSS: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 · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse2 products
- php-composer2&distro=openSUSE Leap 15.6< 2.6.4-150600.3.6.1
- php-composer2&distro=openSUSE Tumbleweed< 2.9.3-1.1
Alpine1 product
- composer≥ 2.0.0, < 2.9.3-r0 | ≥ 2.3.0, < 2.9.3-r0
Composer1 product
- composer≥ 2.0, < 2.2.26 | ≥ 2.3, < 2.9.3
Debian1 product
- composer< 2.5.5-1+deb12u3 | < 2.8.8-1+deb13u1 | < 2.9.3-1
Getcomposer1 product
- composer≥ 2.0.0, < 2.2.26 | ≥ 2.3.0, < 2.9.3
Suse1 product
- php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP7< 2.6.4-150600.3.6.1
Ubuntu1 product
- composerAll versions (No fix recorded)
7 vendors · 8 products
References
12 links- github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353gX Refsource CONFIRMREPORTVendor Advisory
- github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917X Refsource MISCREPORTPatch
- github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71X Refsource MISCREPORTPatch