Live threats

All CVEs / Getcomposer

CVE-2023-43655Getcomposer Composer

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Sep 29, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Composer.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist composer/composer < 1.10.27 1.10.27 composer require "composer/composer:^1.10.27"
Packagist composer/composer ≥ 2.0.0 < 2.2.22 2.2.22 composer require "composer/composer:^2.2.22"
Packagist composer/composer ≥ 2.3.0 < 2.6.4 2.6.4 composer require "composer/composer:^2.6.4"

Per OSV / GitHub Advisories (GHSA-jm6m-4632-36hf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getcomposercomposer< 1.10.27
getcomposercomposer≥ 2.0.0 < 2.2.21
getcomposercomposer≥ 2.3.0 < 2.6.4
debiandebian_linux10.0
fedoraprojectfedora37
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.