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


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.53% (75th 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-SLES155-PHPCOMPOSER2-16755652
  • published19 May 2026
  • disclosed18 May 2026

Introduced: 18 May 2026

CVE-2023-43655  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 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.5 relevant fixed versions and status.

Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to a remote code execution vulnerability if PHP also has register_argc_argv enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure register_argc_argv is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.

CVSS Base Scores

version 3.1