Arbitrary Code Injection Affecting php-composer2 package, versions <2.2.27-150400.3.18.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-PHPCOMPOSER2-16755601
  • published19 May 2026
  • disclosed18 May 2026

Introduced: 18 May 2026

CVE-2025-67746  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 php-composer2 to version 2.2.27-150400.3.18.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-composer2 package and not the php-composer2 package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1