Evidence dossier

CVE-2024-4577

Argument Injection in PHP-CGI

84.599.5Priority evidence range
As known Jul 19, 2026, 5:00 AM UTCgen-56ccdaf9

Normalized 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%
CISA KEVCatalog member

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

FIRST EPSS99.99%

2026-07-18 · v2026.06.15 · percentile 100.0%

Source stateNo scored conflict

Distinct CVSS assessments remain side by side; none are averaged.

Source comparison

Who said what

CISA-ADPindependent enrichment
container

CISA ADP Vulnrichment

CVEderivative copy
container

CVE Program Container

phporiginal assertion
container

Argument Injection in PHP-CGI

CISA KEVoriginal assertion
observed_exploitation

PHP-CGI OS Command Injection Vulnerability

FIRST EPSSoriginal assertion
model_probability

Probability 0.999870000000; percentile 0.999830000000

Applicability

Cited product scope

Trace impact →
php_groupphp
[{"status": "affected", "version": "8.1.0", "lessThan": "8.1.29", "versionType": "custom"}]unknown
php_groupphp
[{"status": "affected", "version": "8.2.0", "lessThan": "8.2.20", "versionType": "custom"}]unknown
php_groupphp
[{"status": "affected", "version": "8.3.0", "lessThan": "8.3.8", "versionType": "custom"}]unknown
PHP GroupPHP
[{"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"}]unknown
Unknown vendorUnknown product
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.1.0; end excluding 8.1.29supported
Unknown vendorUnknown product
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.2.0; end excluding 8.2.20supported
Unknown vendorUnknown product
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*; start including 8.3.0; end excluding 8.3.8supported
Unknown vendorUnknown product
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*supported
Unknown vendorUnknown product
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*supported
Unknown vendorUnknown product
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*constrained

Assessments

CVSS by origin

9.8
nvd@nist.govCVSS 3.1 · role PrimaryCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.8
security@php.netCVSS 3.1 · role SecondaryCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.8
phpCVSS 3.1 · role unknownCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Limitations 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.