CVE-2026-129538
Published:November 19, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.4.0alpha1 <php-8.4.28Fix Suggestion:
Update to version php-8.4.28https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-4.3.0RC3 <php-8.2.36 || >=php-4.3.1 <php-8.2.36 || >=php-4.4.0RC1 <php-8.2.36 || >=php-5.0.0b1 <php-8.2.36 || >=php-5.0.1RC1 <php-8.2.36 || =PHP_5_0_dev_before_13561_fix <php-8.2.36 || >=php-5.1.0b1 <php-8.2.36 || >=php-5.2.0RC1 <php-8.2.36 || >=php-5.3.0alpha1 <php-8.2.36 || >=php-5.4.0alpha1 <php-8.2.36 || >=php-5.5.0alpha1 <php-8.2.36 || >=php-5.6.0alpha1 <php-8.2.36 || >=php-7.0.0alpha1 <php-8.2.36 || >=php-7.1.0alpha1 <php-8.2.36 || >=php-7.2.0alpha1 <php-8.2.36 || >=php-7.3.0alpha1 <php-8.2.36 || >=php-7.4.0alpha1 <php-8.2.36 || >=php-8.0.0alpha1 <php-8.2.36 || >=php-8.1.0alpha1 <php-8.2.36 || >=php-8.2.0alpha1 <php-8.2.36Fix Suggestion:
Update to version php-8.2.36https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.3.0alpha1 <php-8.3.37Fix Suggestion:
Update to version php-8.3.37https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0alpha1 <php-8.5.13Fix Suggestion:
Update to version php-8.5.13https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.6.0alpha1 <php-8.6.0Fix Suggestion:
Update to version php-8.6.0Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
12.82