CVEfocus › CVE database › CVE-2025-67746

CVE-2025-67746Composer vulnerable to ANSI sequence injection

CVSS 1.3 LowEPSS 0.6% (higher than 43% of CVEs)Published 2025-12-30Updated 2025-12-30Assigner: GitHub_M

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.

CWE-74

What to do

Fixed builds are available from Alpine, Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
5Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04composerUnder investigationUBUNTU-CVE-2025-67746
Ubuntu 25.10composerWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-67746
Ubuntu 24.04composerFix pendingUBUNTU-CVE-2025-67746
Ubuntu 22.04composerFix pendingUBUNTU-CVE-2025-67746
Ubuntu 20.04composerFix pendingUBUNTU-CVE-2025-67746
Ubuntu 18.04composerFix pendingUBUNTU-CVE-2025-67746
Ubuntu 16.04composerFix pendingUBUNTU-CVE-2025-67746
Debian 14composerFixed2.9.3-1DEBIAN-CVE-2025-67746
Debian 13composerFixed2.8.8-1+deb13u1DEBIAN-CVE-2025-67746
Debian 12composerFixed2.5.5-1+deb12u3DEBIAN-CVE-2025-67746
Alpine Linux 3.24composerFixed2.9.3-r0ALPINE-CVE-2025-67746
Alpine Linux 3.23composerFixed2.9.3-r0ALPINE-CVE-2025-67746
Packagist librarycomposer/composerFixed2.9.3GHSA-59pp-r3rg-353g

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.