# CVE-2025-67746: Composer vulnerable to ANSI sequence injection

- Severity: Low 1.3 (CVSS:4.0, scored by GitHub_M) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-12-30T16:11:04.776Z
- Modified: 2026-09-10T16:00:43.481Z
- Also known as: GHSA-59pp-r3rg-353g, BIT-COMPOSER-2025-67746
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- composer composer: >= 2.0, < 2.2.26; >= 2.3, < 2.9.3
- composer/composer (Packagist): from 2.0.0 before 2.2.26; from 2.3.0 before 2.9.3
- getcomposer composer: from 2.0.0 before 2.2.26; from 2.3.0 before 2.9.3
- composer (Bitnami): from 2.0.0 before 2.2.26; from 2.3.0 before 2.9.3

## Every score

- GitHub_M: CVSS:4.0 1.3 Low `CVSS: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`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g> (advisory, vendor-advisory, web)
- <https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917> (fix, patch, web)
- <https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71> (fix, patch, web)
- <https://github.com/composer/composer/releases/tag/2.2.26> (article, product, release-notes, web)
- <https://github.com/composer/composer/releases/tag/2.9.3> (article, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67746> (advisory, web)
- <https://github.com/composer/composer> (package)

## Sources

- CVE List: [CVE-2025-67746](https://www.cve.org/CVERecord?id=CVE-2025-67746), CVE Terms of Use, modified 2025-12-30
- GitHub Advisory Database: [GHSA-59pp-r3rg-353g](https://github.com/advisories/GHSA-59pp-r3rg-353g), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-67746](https://nvd.nist.gov/vuln/detail/CVE-2025-67746), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-COMPOSER-2025-67746](https://osv.dev/vulnerability/BIT-COMPOSER-2025-67746), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-67746 · Whole record: https://cve.day/CVE-2025-67746.json · Rebuilt by cve.day 2026-11-25T22:59:10.049Z
