Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-129538

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

No exploitation reported by the sources we read.

  • Published2026-11-19
  • WeaknessCWE-125 · CWE-787 · CWE-823

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2026-11-1914:42CVE publishedCNA

Versions per branch

Products declared by the CNA1 product

As php, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • PHP Group PHPother versions: not affected
    Affected
    • < 8.2.36fixed in 8.2.36semver
    • ≥ 8.3.0, < 8.3.37fixed in 8.3.37semver
    • ≥ 8.4.0, < 8.4.28fixed in 8.4.28semver
    • ≥ 8.5.0, < 8.5.13fixed in 8.5.13semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • phpTuxCare:RHEL:7all versions · fixed in 5.4.16-48.el7.tuxcare.els23and 24 other packages
  • phpAzure Linux:3all versions · no fixed version listed
  • php-8.2Wolfiall versions · fixed in 8.2.36-r0and 80 other packages
  • php-8.2Chainguardall versions · fixed in 8.2.36-r0and 88 other packages
  • php-8.3Wolfiall versions · fixed in 8.3.37-r0and 84 other packages
  • php-8.3Chainguardall versions · fixed in 8.3.37-r0and 92 other packages
  • php-8.4Wolfiall versions · fixed in 8.4.28-r0and 82 other packages
  • php-8.4Chainguardall versions · fixed in 8.4.28-r0and 90 other packages

17 more package ranges on OSV.dev

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-20
  • CISA-ADPSSVC decisionnone2026-11-19
  • CNACVSS 4.06.92026-11-19
  • CNAweakness (CWE)CWE-125, CWE-787, CWE-8232026-11-19
  • FIRST EPSSEPSS score12.8 %2026-11-20
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-11-19
Last Modified
2026-11-20
NVD status
Awaiting Analysis

Frequently asked questions

What is CVE-2026-129538?

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.

Is CVE-2026-129538 actively exploited?

Active exploitation of CVE-2026-129538 has not been confirmed. Its EPSS score was 12.8% on 2026-11-20, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-129538?

CVE-2026-129538 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running PHP? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record