Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-129538— PHP-CGI out-of-bounds read and write during PATH_INFO correction

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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_

CVSS 6.9 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-129538

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PHP-CGI out-of-bounds read and write during PATH_INFO correction
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 0 ~ 8.2.36 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-129538

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-129538

请登录查看更多情报信息。

Other References for CVE-2026-129538 (1)

Same Patch Batch · PHP Group · 2026-11-19 · 17 CVEs total

CVE-2026-129182 9.2 CRITICAL Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
CVE-2026-129289 9.2 CRITICAL PHP-FPM request smuggling through an unread HTTP request body
CVE-2026-129481 9.2 CRITICAL Use-after-free after interrupted session shutdown
CVE-2026-129496 9.2 CRITICAL Timezone cache use-after-free can lead to remote code execution
CVE-2026-129474 9.2 CRITICAL Use-after-free in magic method backtraces can lead to remote code execution
CVE-2026-115560 9.2 CRITICAL Session serializer mismatch can lead to remote code execution
CVE-2026-126714 9.2 CRITICAL Partially overwritten session files can lead to remote code execution
CVE-2026-129291 8.8 HIGH PHP-FPM epoll use-after-free can lead to local privilege escalation
CVE-2026-127960 8.7 HIGH Denial of service through folded HTTP response headers
CVE-2026-128064 8.2 HIGH Mixed-case HTTPS and FTPS URLs can expose data in plaintext
CVE-2026-128090 7.7 HIGH PHAR OpenSSL signature bypass via algorithm downgrade
CVE-2026-129438 6.3 MEDIUM Incorrect RFC 3986 URI serialization for oversized input
CVE-2026-129506 6.3 MEDIUM SOAP use-after-free when processing DTD entity references
CVE-2026-129501 6.3 MEDIUM Double free during DOM XML serialization
CVE-2026-15353 6.3 MEDIUM SOAP information disclosure through malformed array dimensions
CVE-2026-129292 5.3 MEDIUM PHP-FPM status endpoint XSS via unescaped user and script fields

IV. Related Vulnerabilities