PHP-CGI out-of-bounds read and write during PATH_INFO correction
CVE-2026-129538Published 19 Nov 2026, 14:42 UTC
Real-world risk
2.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from php)
PHP-CGI out-of-bounds read and write during PATH_INFO correction. The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when PATH_INFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may obtain process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory. PHP-FPM and the Apache module are not affected. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| PHPUbiquitous | < 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 | 8.2.36, 8.3.37, 8.4.28, 8.5.13 |
What to do
Update to a fixed version: 8.2.36, 8.3.37, 8.4.28, 8.5.13.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T2: Likely to be exploited (× 0.90)
EPSS probability at least 0.10, or EPSS percentile at least 0.95
EPSS 12.8% chance of exploitation in 30 days (percentile 96), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T2: Likely to be exploited0.900
- 10 × impact 0.3 × prerequisites 1 × threat 0.92.700
- Rounded to one decimal between 0.1 and 102.7
Exploitation and evidence timeline
- 19 Nov 2026 Published
- 3 Dec 2026 Risk 2.7 (cvss fallback)
Weakness
CWE-125, CWE-787, CWE-823