CVE-2026-129538 json
PHP-CGI out-of-bounds read and write during PATH_INFO correction
published 16h ago modified 8h ago also EUVD-2026-130137 , GHSA-5j3f-64r7-f564
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository php/php-src. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- PHP Group PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13
- php8.2 Debian 12 8.2.36-1~deb12u1
- php8.4 Debian 13 8.4.28-1~deb13u1
debian advisories DEBIAN-CVE-2026-129538
Is CVE-2026-129538 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14h ago
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
Affected products
- PHP Group PHP
Classification
References
-
github.com
/php/php-src/security/advisories/GHSA-5j3f-64r7-f564
vendor-advisory, advisory
Sources
- CVE List CVE-2026-129538
- NVD CVE-2026-129538
- Maintainer advisory GHSA-5j3f-64r7-f564
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.