CVE-2025-67746Getcomposer Composer
Low 1.3
Follow: this CVE · Getcomposer · Getcomposer Composer We alert you by email or Slack (account required).
- Priority
- 8
- CVSS 4.0
- 1.3
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 30, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Composer.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | composer/composer |
≥ 2.0.0 < 2.2.26 |
2.2.26 |
composer require "composer/composer:^2.2.26" |
| Packagist | composer/composer |
≥ 2.3.0 < 2.9.3 |
2.9.3 |
composer require "composer/composer:^2.9.3" |
Per OSV / GitHub Advisories (GHSA-59pp-r3rg-353g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| getcomposer | composer | ≥ 2.0.0 < 2.2.26 |
| getcomposer | composer | ≥ 2.3.0 < 2.9.3 |
Official advisories
- Security update for php-composer2 · SUSE · openSUSE-SU-2026:21520-1 · Aug 3, 2026 High
- Security update for php-composer2 · SUSE · SUSE-SU-2026:23116-1 · Aug 3, 2026 High
- Security update for php-composer2 · SUSE · SUSE-SU-2026:23138-1 · Aug 3, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8165 · Apr 20, 2026 High
Also: SUSE (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Vendor Advisory