Skip to content
Fencer Vulns
medium 4.3

CVE-2025-67746 json

Composer vulnerable to ANSI sequence injection

published 2025-12-30 10 mo ago modified 2026-09-10 59 d ago also BIT-composer-2025-67746 , EUVD-2025-205815 , GHSA-59pp-r3rg-353g

cvss
4.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist composer/composer 2.2.26, 2.9.3
  • bitnami composer 2.2.26, 2.9.3
  • getcomposer composer 2.2.26, 2.9.3
  • composer Debian 12 2.5.5-1+deb12u3
  • composer Debian 13 2.8.8-1+deb13u1
  • composer Debian 14 2.9.3-1

debian advisories DEBIAN-CVE-2025-67746

  • composer hummingbird 1 2.9.7-1.hum1

red hat advisories RHSA-2026:8165

  • php-composer2 SLES 16.0, SLES for SAP applications 16.0 2.8.9-160000.4.1
  • php-composer2 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Web and Scripting 15 SP7 2.6.4-150600.3.12.1
  • php-composer2 SLE Module for Web and Scripting 15 SP7, openSUSE Leap 15.6 2.6.4-150600.3.6.1

suse advisories SUSE-SU-2026:23116-1SUSE-SU-2026:23138-1SUSE-SU-2026:3105-1SUSE-SU-2026:0825-1

  • php-composer2 openSUSE Leap 16.0 2.8.9-160000.4.1
  • php-composer2 openSUSE Tumbleweed 2.9.3-1.1

opensuse advisories openSUSE-SU-2026:21520-1openSUSE-SU-2026:10054-1

  • composer Alpine 3.24, Alpine 3.23 2.9.3-r0

alpine advisories ALPINE-CVE-2025-67746

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-67746 updated cvss 3.5

composer: Composer: Terminal output manipulation leading to Denial of Service

  • Red Hat Hardened Images composer 2.9.7-1.hum1
    fixed: vendor fix RHSA-2026:8165

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
10 mo ago

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 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
CNA 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/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
NVD 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
OSV 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
packagist composer/composer
>=2.0.0, <2.2.26
>=2.3.0, <2.9.3
2.2.26
2.9.3
bitnami composer
>=2.0.0, <2.2.26
>=2.3.0, <2.9.3
2.2.26
2.9.3

Affected products

  • composer composer

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.