In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
Conclusion & alert: CVE-2024-4577 is rated Critical Active Threat (99.2/100): CVSS Critical severity, with high exploitation likelihood (EPSS 94.39%, 100th percentile). Core evidence: CISA KEV confirms active exploitation (added 2024-06-12) affecting PHP Group / PHP. a weakness (CWE-78) Unauthenticated remote administrative access may be possible. Mandatory action: The CISA remediation deadline has passed—treat as an emergency patch priority.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
: PHP-CGI OS Command Injection Vulnerability · CISA KEV detail
: 2024-06-12
: 2024-07-03
: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 52331 | exploit_db | edb | 2025-06-15 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 94.34% | 94.39% | +0.05% |
| 2 | 2025-11-18 | 94.42% | 94.34% | -0.08% |
| 3 | 2025-03-17 | — | 94.42% | — |
Full EPSS history (20 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-4577 unimportant priority: Debian including 2 source packages (php7.4, php8.2), 2 status rows across 2 suites (bookworm, bullseye): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2024-4577 |
gentoo
|
high | CVE-2024-4577: 1 GLSA(s) (202408-32), 1 atom(s) (dev-lang/php); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-4577 |
redhat
|
critical | — | https://access.redhat.com/security/cve/CVE-2024-4577 |
suse
|
critical | CVE-2024-4577 severity critical: SUSE including 368 source package names (apache2-mod_php5, apache2-mod_php7, …), 1601 product×package rows across 27 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, … (27 product lines)): Known Not Affected 1500, Fixed 101. | https://www.suse.com/security/cve/CVE-2024-4577/ |
ubuntu
|
medium | CVE-2024-4577 medium priority: Ubuntu including 7 source packages (php5, php7.0, …), 38 status rows across 8 suites (bionic, focal, jammy, mantic, noble, trusty, upstream, xenial): DNE 24, needs-triage 7, not-affected 7. | https://ubuntu.com/security/CVE-2024-4577 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| php | php | >= 8.1.0, < 8.1.29 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | >= 8.2.0, < 8.2.20 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | >= 8.3.0, < 8.3.8 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 39 | cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
| fedoraproject | fedora | 40 | cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |