ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-129538

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

CVSS
6.9Medium
Chance of exploitation (EPSS)
13%
Published
Nov 19, 2026
In the news
1 story
More from this vendor

What to do

A moderate memory read flaw in PHP that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 8.2.36, 8.3.37, 8.4.28, 8.5.13

Affected versions
PHP
8.2.0 to before 8.2.36; 8.3.0 to before 8.3.37; 8.4.0 to before 8.4.28; 8.5.0 to before 8.5.13

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.

CWE-125CWE-787CWE-823

Affected products

Get alerts for these →

Timeline 22

Latest change: Nessus plugin 385372: AlmaLinux 9 : php:8.2 (ALSA-2026:102261) (Nov 22, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Nov 19, 2026

  1. CVECVE-2026-129538 published (CVSS 6.9)CVE Program · 15:17 UTC

References 1

  • github.com /php/php-src/security/advisories/GHSA-5j3f-64r7-f564

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”