Under active attackUsed by ransomware

PHP Group PHP: CVE-2024-4577

PHP-CGI OS Command Injection Vulnerability. CISA added it to its list of flaws being exploited in the wild on 12 Jun 2024.

CVE
CVE-2024-4577
Vendor
PHP Group
Product
PHP
Added to CISA's exploited list
12 Jun 2024
US federal patch deadline
3 Jul 2024
Used in ransomware campaigns
Known
Exploit likelihood, next 30 days
>99.9% (higher than 99% of scored flaws)

What CISA says

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.CISA, Known Exploited Vulnerabilities catalog

In plain English: OS command injection

The software passes attacker-controlled input to the operating system's command line, so the attacker can run any command the service is allowed to run.

What to do

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

If you run PHP Group PHP, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References

Quick answers

Is CVE-2024-4577 being exploited?

Yes. CISA added CVE-2024-4577 (PHP Group PHP) to its Known Exploited Vulnerabilities catalog on 12 Jun 2024, which means there is reliable evidence attackers are using it.

Is CVE-2024-4577 used in ransomware?

Yes. CISA marks CVE-2024-4577 as known to be used in ransomware campaigns.

When does CVE-2024-4577 have to be fixed?

US federal agencies had to fix it by 3 Jul 2024 under CISA's Binding Operational Directive 22-01. Everyone else should treat that date as a guide: the flaw is already being used.

How likely is CVE-2024-4577 to be exploited?

FIRST's EPSS model puts the chance of exploitation in the next 30 days at >99.9%, higher than 99% of all scored vulnerabilities (scored 2026-12-04).

How do I fix CVE-2024-4577?

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. If you're not sure whether you run PHP Group PHP anywhere, find out first: an up-to-date inventory is the first step.

Know what's exposed before attackers do

Flaws like this are found by testing, not by waiting. Read the difference between a vulnerability scan and a pen test, what a pen test costs, or see AvalonX plans.