cve.bz

CVE-2025-67746 getcomposer composer: Injection

1.3 lowEPSS 0.5%Fix available

Low (1.3) in getcomposer composer. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 2.2.26, 2.9.3.

On this page
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.

Severity

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

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-12-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-67746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-67746?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-67746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-67746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
getcomposer:composerfrom 2.0.0 before 2.2.26
getcomposer:composerfrom 2.3.0 before 2.9.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-59pp-r3rg-353gPackagistcomposer/composer>=2.0.0 <2.2.262.2.26
GHSA-59pp-r3rg-353gPackagistcomposer/composer>=2.3.0 <2.9.32.9.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12composer2.5.5-1+deb12u3DEBIAN-CVE-2025-67746
Debian13composer2.8.8-1+deb13u1DEBIAN-CVE-2025-67746
Debian14composer2.9.3-1DEBIAN-CVE-2025-67746
Ubuntu25.10, 26.04:LTS, Pro:16.04:LTS and 4 morecomposerno fix listedUBUNTU-CVE-2025-67746
Red Hathummingbird:1composer0:2.9.7-1.hum1RHSA-2026:8165
SUSELinux Enterprise Module for Web and Scripting 15 SP7php-composer22.6.4-150600.3.6.1SUSE-SU-2026:0825-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php-composer22.6.4-150600.3.12.1SUSE-SU-2026:3105-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php-composer22.8.9-160000.4.1SUSE-SU-2026:23116-1 SUSE-SU-2026:23138-1
openSUSELeap 15.6php-composer22.6.4-150600.3.6.1SUSE-SU-2026:0825-1
openSUSELeap 16.0php-composer22.8.9-160000.4.1openSUSE-SU-2026:21520-1
openSUSETumbleweedphp-composer22.9.3-1.1openSUSE-SU-2026:10054-1
Alpinev3.23, v3.24composer2.9.3-r0ALPINE-CVE-2025-67746

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated Low as it primarily affects the terminal output of Composer commands. Exploitation requires an attacker to control remote sources from which Composer downloads, allowing the injection of ANSI control characters. This can lead to mangled output or a denial of service of the terminal application, but not the underlying system.

ProductPackageStateAdvisory
Red Hat Hardened Imagescomposer-main-2.9.7-1.hum1Fixed 2026-04-14RHSA-2026:8165

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-67746.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON