CVE-2026-129538
PHP-CGI out-of-bounds read and write during PATH_INFO correction
Reported by php · Published November 19, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php-pecl-xdebug3-debuginfo | errata.rockylinux.org | 0:3.2.2-2.module+el8.10.0+1911+f499711e.x86_64, 0:3.2.2-2.module+el8.10.0+1911+f499711e.aarch64, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.x86_64, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.aarch64 |
| php-pecl-zip-debuginfo | errata.rockylinux.org | 0:1.22.3-1.module+el8.10.0+1911+f499711e.aarch64, 0:1.22.3-1.module+el8.10.0+1596+477f03f8.aarch64, 0:1.18.2-1.module+el8.10.0+1912+72767185.aarch64, 0:1.18.2-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.3-soap | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.2-tidy | Amazon Linux | 8.2.36-1.amzn2023.0.1 |
| php-8.4 | Wolfi | 8.4.28-r0 |
| php8.3-xml | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php-pecl-xdebug3-debugsource | errata.rockylinux.org | 0:3.2.2-2.module+el8.10.0+1911+f499711e.aarch64, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.aarch64 |
| php8.2-snmp | Amazon Linux | 8.2.36-1.amzn2023.0.1 |
| php8.5-sodium | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
| php8.5-cli | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
| php8.3-opcache | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.5 | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
79 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 0, 8.3.0, 8.4.0 |
| PHP Group | PHP | 0, 8.3.0, 8.4.0 |
Timeline
- Nov 19, 2026 Coalition ESS Score
- Nov 19, 2026 CVE Published
- Nov 19, 2026 PoC Published (5 in total, the first dated here)
- Nov 19, 2026 CVE Updated
- Nov 20, 2026 EPSS Score
- Nov 22, 2026 Distribution Patch (9 in total, the first dated here)
- Nov 22, 2026 Security Advisory (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-129538
vulnetix vdb fixes CVE-2026-129538
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-129538/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart