Out-of-Bounds Vulnerability in PHP CGI
Key Information:
- Vendor
PHP Group
- Status
- PHP
- CVE ID
- CVE ID:
- CVE-2026-129538
- Vendor
- CVE Published:
- 19 November 2026
- Fixed in
- Fixed in:
- 8.2.36, 8.3.37, 8.4.28 +1 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the PHP release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach PHP. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- EPSS gives it a 12.8% chance of exploitation in the next 30 days.
- Its CVSS severity is medium (6.9).
What is CVE-2026-129538?
The PHP CGI binary can be exploited in CGI and FastCGI mode when cgi.fix_pathinfo is enabled. An out-of-bounds read and write can occur if the SCRIPT_FILENAME or PATH_TRANSLATED length exceeds the supplied PATH_INFO or if PATH_INFO is empty. This situation can lead to a crash of the PHP process or expose sensitive process memory, especially if the web server mapping allows for inconsistent values. An unauthenticated remote attacker could take advantage of this flaw through a FastCGI listener accessible to untrusted clients. Notably, PHP-FPM and the Apache module are not impacted by this vulnerability.
References
More PHP Group Vulnerabilities
Request Smuggling in PHP-FPM
Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases
Remote Code Execution Vulnerability in PHP Session Management
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction
EPSS Score
12% chance of being exploited in the next 30 days.
