Use of Out-of-range Pointer Offset in PHP - CVE-2026-129538
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to crash a PHP-CGI process, corrupt its memory, or potentially disclose process memory.
The vulnerability exists due to use of an out-of-range pointer offset in PHP-CGI's init_request_info() when correcting PATH_INFO using inconsistent script and path values, allowing reads and writes outside the PATH_INFO buffer. A remote attacker can trigger the invalid memory access through a request handled by an affected web server mapping or through direct access to an exposed PHP-CGI FastCGI listener to crash the process, corrupt its memory, or disclose process memory if the application exposes the affected values.
The issue affects PHP-CGI in CGI and FastCGI modes only when cgi.fix_pathinfo=1, the default. PHP-FPM and PHP running as an Apache module are not affected.
Affected software
Debian Linux
Fedora
php
php8.4 (Debian package)
How to mitigate CVE-2026-129538
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45
php8.4 (Debian package) - update to 8.4.28-1~deb13u1