Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Evidence dossier
CVE-2024-4577
Argument Injection in PHP-CGI
gen-56ccdaf9Normalized restatement
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.
- State
- PUBLISHED
- Published
- Jun 9, 2024
- Updated
- Oct 21, 2025
- Evidence coverage
- 85%
2026-07-18 · v2026.06.15 · percentile 100.0%
Distinct CVSS assessments remain side by side; none are averaged.
Source comparison
Who said what
PHP-CGI OS Command Injection Vulnerability
Probability 0.999870000000; percentile 0.999830000000
Applicability
Cited product scope
[{"status": "affected", "version": "8.1.0", "lessThan": "8.1.29", "versionType": "custom"}]unknown[{"status": "affected", "version": "8.2.0", "lessThan": "8.2.20", "versionType": "custom"}]unknown[{"status": "affected", "version": "8.3.0", "lessThan": "8.3.8", "versionType": "custom"}]unknown[{"status": "affected", "version": "8.1.*", "lessThan": "8.1.29", "versionType": "semver"}, {"status": "affected", "version": "8.2.*", "lessThan": "8.2.20", "versionType": "semver"}, {"status": "affected", "version": "8.3.*", "lessThan": "8.3.8", "versionType": "semver"}]unknowncpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.1.0; end excluding 8.1.29supportedcpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.2.0; end excluding 8.2.20supportedcpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.3.0; end excluding 8.3.8supportedcpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*supportedcpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*supportedcpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*constrainedAssessments
CVSS by origin
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLimitations and unknowns
- KEV membership is authoritative for the catalog, not proof of exposure in any environment.
- EPSS is a dated model probability and not an individual-environment prediction.
- Affected or fixed status applies only to the exact cited product and version scope; unresolved scope remains unknown.
- NVD-carried upstream facts remain derivative and are not independent corroboration.
- Only NVD metrics validated under the generation-bound calculator are Public Priority eligible; direct CVE record metrics remain display-only.
- NVD CVSS source eligibility is closed: NVD-authored, exact record-source, or registered same-CVE container origin; unmapped sources remain display-only.
- Factor D is unknown in Public Core because no accepted canonical mapping-obligation ledger is present.
- Core replay supports the active and immediately prior generation; retrospective valid-at replay is deferred.