Known exploited vulnerability

CVE-2024-4577

PHP-CGI OS Command Injection Vulnerability

What is affected

Vendor PHP Group
Product PHP
Weakness CWE-78

The vulnerability

PHP, specifically Windows-based PHP used in CGI mode, contains an OS command injection vulnerability that allows for arbitrary code execution. This vulnerability is a patch bypass for CVE-2012-1823.

Required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

US federal civilian agencies were required to act by 3 July 2024 under BOD 22-01. The deadline is a compliance date, not a measure of severity — it says nothing about how dangerous the flaw is to anyone else.

Ransomware

CISA records this vulnerability as having been used in ransomware campaigns. That is a confirmed observation, not an assessment of likelihood.

Where this comes from

Every field on this page is taken from the CISA Known Exploited Vulnerabilities catalog, last synced 11 Nov 2026, 21:30. Nothing here is our own assessment. For the technical scoring, see the NVD record below.

NVD record ↗ CVE.org record ↗

More from PHP Group