Vendors › PHP

CVE-2026-129538

Medium (6.9) EPSS 12.8% PHP · sapi-cgi

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

The PHP CGI binary (php-cgi) can access memory outside the supplied path information when a web server passes inconsistent script and path values. Depending on the request and configuration, an unauthenticated attacker may be able to crash the PHP process, expose process memory, or corrupt memory.

Published2026-11-19
Updated2026-11-19
AffectedPHP versions >= 8.2.0, < 8.2.36; PHP versions >= 8.3.0, < 8.3.37; PHP versions >= 8.4.0, < 8.4.28; PHP versions >= 8.5.0, < 8.5.13
FixUpgrade to 8.2.36, 8.3.37, 8.4.28, 8.5.13 (first fixed release per supported branch).
CVEMesh analysisA vulnerability in the PHP CGI binary can cause it to access memory outside the intended path, potentially allowing an attacker to crash the process, expose memory, or corrupt it. This can happen if a web server passes inconsistent script and path values. The advisory does not state specific conditions for exploitation. The most important action is to upgrade to PHP version 8.2.36, 8.3.37, 8.4.28, or 8.5.13, which is the first fixed release per supported branch.
Vendor states: "Depending on the request and configuration, an unauthenticated attacker may be able to crash the PHP process, expose process memory, or corrupt memory."
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-129538———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.