CVE-2025-67746
mediumpriority · track · 17EPSS 0.005 · 39 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedphp-composer2-0:2.6.4-150600.3.6.1.noarch as component of SUSE Linux Enterprise Module for Web and Scripting 15 SP7suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedphp-composer2-0:2.6.4-150600.3.6.1.noarch as component of openSUSE Leap 15.6suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedphp-composer2-0:2.9.3-1.1.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedphp-composer2-0:2.9.3-1.1.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedphp-composer2-0:2.9.3-1.1.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedphp-composer2-0:2.9.3-1.1.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.3–4.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- SUSE-SU-2026:0825-1Security update for php-composer22026-03-05csaf · suse_csafDE
Security update for php-composer2
- openSUSE-SU-2026:10054-1php-composer2-2.9.3-1.1 on GA media2026-01-15csaf · suse_csafDE
php-composer2-2.9.3-1.1 on GA media
- GHSA-59pp-r3rg-353gComposer is vulnerable to ANSI sequence injection2025-12-30ghsa · osvUS
### 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.
- BIT-composer-2025-67746Composer vulnerable to ANSI sequence injection2026-01-08vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://getcomposer.org/doc/00-intro.mdPatchcnnvd
- https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917cnnvd
- https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71cnnvd
- https://github.com/composer/composer/releases/tag/2.2.26cnnvd
- https://github.com/composer/composer/releases/tag/2.9.3cnnvd
- https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353gcnnvd
- https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917enisa_euvd
- https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan