Skip to content

PHP

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?

ProductAffected 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.138.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

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together1.000
  2. Threat T2: Likely to be exploited0.900
  3. 10 × impact 0.3 × prerequisites 1 × threat 0.92.700
  4. Rounded to one decimal between 0.1 and 102.7

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Risk 2.7 (cvss fallback)

Weakness

CWE-125, CWE-787, CWE-823

References

Get alerts for PHP

Free email or text alerts when a vulnerability in PHP reaches risk 8 or higher. Nothing else.