CVE-2026-129538

PHP-CGI out-of-bounds read and write during PATH_INFO correction

MEDIUM
6.9
CVSS Score
Published: November 19, 2026 at 02:42 PM UTC
Updated: November 19, 2026 at 09:45 PM UTC
12 products affected across 4 vendorsEnterprise LinuxopenSUSE TumbleweedLinux Enterprise Server

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.9
Exploit prediction
EPSS 13%
SSVC
No known exploit

Description

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 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
v < 8.2.368.3.0 ≤ v < 8.3.378.4.0 ≤ v < 8.4.288.5.0 ≤ v < 8.5.138.3.08.4.08.5.0

Fix versions

  • Outside the affected range from 8.2.36
    Our inference from the affected range (< 8.2.36)
  • Outside the affected range from 8.3.37
    Our inference from the affected range (< 8.3.37)
  • Outside the affected range from 8.4.28
    Our inference from the affected range (< 8.4.28)
  • Outside the affected range from 8.5.13
    Our inference from the affected range (< 8.5.13)

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.9MEDIUMphp
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-125CWE-787CWE-823

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE records are from the CVE Program (CVE.org).