VDB

CVE-2026-129538

CVE-2026-129538 PUBLISHED CVSS 6.9 MEDIUM

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.

PackageEcosystemFixed in
php-pecl-xdebug3-debuginfoerrata.rockylinux.org0: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-debuginfoerrata.rockylinux.org0: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-soapAmazon Linux8.3.37-1.amzn2023.0.1
php8.2-tidyAmazon Linux8.2.36-1.amzn2023.0.1
php-8.4Wolfi8.4.28-r0
php8.3-xmlAmazon Linux8.3.37-1.amzn2023.0.1
php-pecl-xdebug3-debugsourceerrata.rockylinux.org0: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-snmpAmazon Linux8.2.36-1.amzn2023.0.1
php8.5-sodiumAmazon Linux8.5.13-1.amzn2023.0.1
php8.5-cliAmazon Linux8.5.13-1.amzn2023.0.1
php8.3-opcacheAmazon Linux8.3.37-1.amzn2023.0.1
php8.5Amazon Linux8.5.13-1.amzn2023.0.1

79 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 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

VendorProductVersions
PHP GroupPHP0, 8.3.0, 8.4.0
PHP GroupPHP0, 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

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›