Skip to content

ANSI sequence injection

Low
Seldaek published GHSA-59pp-r3rg-353g Dec 30, 2025

Package

composer composer/composer (Composer)

Affected versions

>=2.0,<2.2.26 || >=2.3,<2.9.3

Patched versions

2.2.26, 2.9.3

Description

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 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.

Patches

2.2.26 for 2.2 LTS or 2.9.3 for mainline

Severity

Low

CVE ID

CVE-2025-67746

Weaknesses

No CWEs

Credits