Advisory

GHSA-59pp-r3rg-353g

Also known as: BIT-composer-2025-67746, CVE-2025-67746

Summary

Composer is vulnerable to ANSI sequence injection

Details

Impact
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 Composer still published a CVE as it has potential for abuse, and Composer wants to be on the safe side informing users that they should upgrade.

Patches
2.2.26 for 2.2 LTS or 2.9.3 for mainline.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-12-30 17:44 UTC
Modified
2026-02-03 03:14 UTC

Affected packages and fixes

composer/composer

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.2.26 (ecosystem)

Fixed versions

2.2.26

Fix

The export has no generic command for this ecosystem.

composer/composer

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 2.9.3 (ecosystem)

Fixed versions

2.9.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences