{"id":"DEBIAN-CVE-2026-129538","details":"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.","modified":"2026-11-20T05:00:07.295875985Z","published":"2026-11-19T15:17:28.773Z","upstream":["CVE-2026-129538"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-129538"}],"affected":[{"package":{"name":"php8.2","ecosystem":"Debian:12","purl":"pkg:deb/debian/php8.2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2.36-1~deb12u1"}]}],"versions":["8.2.10-1","8.2.10-2","8.2.12-1","8.2.16-1","8.2.16-2","8.2.17-1","8.2.18-1","8.2.18-1~deb12u1","8.2.20-1~deb12u1","8.2.20-2","8.2.20-3","8.2.21-1","8.2.23-1","8.2.24-1","8.2.24-1~deb12u1","8.2.26-1~deb12u1","8.2.26-4","8.2.27-1","8.2.28-1~deb12u1","8.2.29-1~deb12u1","8.2.30-1~deb12u1","8.2.31-1~deb12u1","8.2.32-1~deb12u1","8.2.33-1~deb12u1","8.2.34-1~deb12u1","8.2.35-1~deb12u1","8.2.5-2","8.2.7-1","8.2.7-1.1","8.2.7-1.2","8.2.7-1~deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129538.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:13","purl":"pkg:deb/debian/php8.4?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.28-1~deb13u1"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1","8.4.21-1","8.4.21-1~deb13u1","8.4.22-1","8.4.23-1","8.4.23-1~deb13u1","8.4.24-1","8.4.24-1~deb13u1","8.4.26-1","8.4.26-1~deb13u1","8.4.27-1","8.4.27-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129538.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:14","purl":"pkg:deb/debian/php8.4?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1","8.4.21-1","8.4.21-1~deb13u1","8.4.22-1","8.4.23-1","8.4.23-1~deb13u1","8.4.24-1","8.4.24-1~deb13u1","8.4.26-1","8.4.26-1~deb13u1","8.4.27-1","8.4.27-1~deb13u1","8.4.28-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-129538.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}