CVE-2023-43655: composer Injection
Vulnerability summary
CVE-2023-43655 is a high (CVSS 8.8) Injection vulnerability in composer. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 74.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 29-09-2023PublishedVulnerability first disclosed.
- 18-06-2025Last modifiedVulnerability information updated.
Description
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 metrics
4 scores · 4 sources · 1 version- CVE.orgCNA6.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.53%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
+0.14 pp
From 1.39% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Opensuse3 products
- php-composer2&distro=openSUSE Leap 15.4< 2.2.3-150400.3.6.1
- php-composer2&distro=openSUSE Leap 15.5< 2.2.3-150400.3.6.1
- php-composer2&distro=openSUSE Tumbleweed< 2.6.4-1.1
Debian2 products
- composer< 2.5.5-1+deb12u4 | < 2.6.4-1 | < 1.8.4-1+deb10u3
- debian_linuxEOL10.0
Suse2 products
- php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP4< 2.2.3-150400.3.6.1
- php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP5< 2.2.3-150400.3.6.1
Composer1 product
- composer2.6.4, 2.2.21, 1.10.27 | ≥ 2.0, < 2.2.22 | < 1.10.27
Fedoraproject1 product
- fedoraEOL37 | 38
Getcomposer1 product
- composer< 1.10.27 | ≥ 2.0.0, < 2.2.21 | ≥ 2.3.0, < 2.6.4
Ubuntu1 product
- composer< 1.0.0~beta2-1ubuntu0.1~esm2 | < 1.6.3-1ubuntu0.1~esm2 | < 1.10.1-1ubuntu0.1~esm2 | < 2.2.6-2ubuntu4+esm1
7 vendors · 11 products
References
15 links- github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hfX Refsource CONFIRMREPORTVendor Advisory
- github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120dX Refsource MISCREPORTPatch
- github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968cX Refsource MISCREPORTPatch
- github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9cX Refsource MISCREPORTPatch