CVE
CVE-2024-4577
PHP Group · PHP
- First Reported
- Jun 10, 2024
- Latest Reported
- Oct 21, 2026
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 99.99%
- EPSS Percentile
- 99.98%
- CISA KEV
- YES — Known Exploited Vulnerability
Description
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 10-Jun-2024 03:15
- Last Modified
- 17-Jun-2026 15:02
- EPSS Date
- 2026-11-10
- CWE
- CWE-78
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
CISA KEV Details
- Date Added
- 2024-06-12
- Remediation Due
- 2024-07-03
- Known Ransomware Campaign Use
- Known
- Required Action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://www.php.net/ChangeLog-8.php#; https://nvd.nist.gov/vuln/detail/CVE-2024-4577
CNA Products / Version Status
- php_group · php
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
8.1.0 ≤ version < 8.1.29 — affected (custom)
CPEs: cpe:2.3:a:php_group:php:8.1.0:*:*:*:*:*:*:*
- php_group · php
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
8.2.0 ≤ version < 8.2.20 — affected (custom)
CPEs: cpe:2.3:a:php_group:php:8.2.0:*:*:*:*:*:*:*
- php_group · php
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
8.3.0 ≤ version < 8.3.8 — affected (custom)
CPEs: cpe:2.3:a:php_group:php:8.3.0:*:*:*:*:*:*:*
- PHP Group · PHP
Source: CNA · [email protected]
Default status: affected
8.1.* ≤ version < 8.1.29 — affected (semver)
8.2.* ≤ version < 8.2.20 — affected (semver)
8.3.* ≤ version < 8.3.8 — affected (semver)
Platforms: Windows
Modules: CGI
repo: https://github.com/php/php-src
Affected Products / Versions
- php / php
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 8.1.0 · before (exclusive) 8.1.29
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - php / php
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 8.2.0 · before (exclusive) 8.2.20
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - php / php
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 8.3.0 · before (exclusive) 8.3.8
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 39
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 40
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- CISA Advisory
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (10)
- A PHP command injection vulnerability (CVE-2024-4577) Expel's 2026 Threat Report: Identity Accounted for 68.6% of Observed Incidents
- CVE-2024-4577, a critical PHP-CGI argument injection flaw Cyble Reports Exploitation Attempts and 54 Vulnerabilities in CISA ICS Advisories
- On the cluster: 12 CVEs including CVE-2022-1471 (SnakeYAML deserialization, EPSS 0.94), CVE-2024-4577 (PHP-CGI argument injection, EPSS 0.97), CVE-2024-34351 (Next.js SSRF), CVE-2025-29927 (Next.js authentication AWS Adds Five Risk Indicators to GuardDuty Extended Threat Detection
- CVE-2024-4577 Recorded Future Identifies 73 High-Impact Vulnerabilities in August, 70 Actively Exploited
- CVE-2024-4577 PHP-CGI (Windows) allow_url_include%3D Fortinet Details Evooo1Bot, a Modular Linux Botnet Targeting Internet-Facing Devices
CVE (144)
Malware (20)
People (6)
Threat Actors (11)
MITRE ATT&CK (51)
Vendors (47)
Products (111)
Tools (95)
Industries (14)
Countries (6)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
