Vendors › PHP

CVE-2024-4577

Critical (9.8) 🎯 KEV EPSS 100.0% PHP · core

PHP RCE: A Bypass of CVE-2012-1823, Argument Injection in PHP-CGI

When PHP runs as CGI on Windows, locale and encoding handling lets unauthenticated attackers inject command-line arguments and execute arbitrary code remotely.

Published2024-09-28
Updated2024-09-28
AffectedPHP versions < 8.3.8; PHP versions < 8.2.20; PHP versions < 8.1.29
FixUpgrade to 8.3.8; 8.2.20; 8.1.29 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-3qgc-jrrr-25jv

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-4577———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.