VDB

CVE-2025-67746

CVE-2025-67746 PUBLISHED CVSS 1.3 LOW

Composer vulnerable to ANSI sequence injection

Reported by github_m · Published December 30, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
composergetcomposer2.9.3, 2.2.26
composerBitnami2.9.3, 2.2.26

Risk scores

CVSS 4.0
1.3
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

Affected products

VendorProductVersions
composercomposer>= 2.0, < 2.2.26, >= 2.3, < 2.9.3
composercomposer2.0, 2.3
amazon:2023composer0
composercomposer2.0.0, 2.3.0
alpinecomposer0

Timeline

  • Dec 30, 2025 CVE Published
  • Dec 30, 2025 CVE Updated
  • Dec 31, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 14, 2026 PoC Published (2 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-67746
vulnetix vdb fixes CVE-2025-67746

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-67746/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›