# CVE-2023-43655: Remote Code Execution via web-accessible composer.phar

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-29 · Modified: 2025-06-18
- Aliases: SUSE-SU-2023:4041-1, UBUNTU-CVE-2023-43655, DEBIAN-CVE-2023-43655, DLA-3777-1, openSUSE-SU-2024:13290-1, ALPINE-CVE-2023-43655
- Record: https://cvemate.com/vulnerability/CVE-2023-43655 · JSON: https://cvemate.com/vulnerability/CVE-2023-43655/json

## Description

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

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.532%, percentile 75.665%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine composer (Alpine Linux): ≥ 2.0.0, \< 2.6.4-r0 \| ≥ 2.3.0, \< 2.6.4-r0
- composer composer: 2.6.4, 2.2.21, 1.10.27 \| ≥ 2.0, \< 2.2.22 \| \< 1.10.27
- debian composer (Debian): \< 2.5.5-1+deb12u4 \| \< 2.6.4-1 \| \< 1.8.4-1+deb10u3
- ubuntu composer (Ubuntu): \< 1.0.0~beta2-1ubuntu0.1~esm2 \| \< 1.6.3-1ubuntu0.1~esm2 \| \< 1.10.1-1ubuntu0.1~esm2 \| \< 2.2.6-2ubuntu4+esm1
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38
- getcomposer composer: \< 1.10.27 \| ≥ 2.0.0, \< 2.2.21 \| ≥ 2.3.0, \< 2.6.4
- opensuse php-composer2&distro=openSUSE Leap 15.4 (openSUSE): \< 2.2.3-150400.3.6.1
- opensuse php-composer2&distro=openSUSE Leap 15.5 (openSUSE): \< 2.2.3-150400.3.6.1
- opensuse php-composer2&distro=openSUSE Tumbleweed (openSUSE): \< 2.6.4-1.1
- suse php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP4 (SUSE Linux Enterprise): \< 2.2.3-150400.3.6.1
- suse php-composer2&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP5 (SUSE Linux Enterprise): \< 2.2.3-150400.3.6.1

## References

- <https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf>
- <https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d>
- <https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c>
- <https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/>
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234041-1/>
- <https://bugzilla.suse.com/1215859>
- <https://www.suse.com/security/cve/CVE-2023-43655>
- <https://ubuntu.com/security/CVE-2023-43655>
- <https://www.cve.org/CVERecord?id=CVE-2023-43655>
- <https://ubuntu.com/security/notices/USN-7603-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-43655>
- <https://security.alpinelinux.org/vuln/CVE-2023-43655>

---

Data as of 2026-12-05T04:22:20.819Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
