{"id":"CVE-2026-129538","published":"2026-11-19T14:42:40Z","modified":"2026-11-19T19:36:26Z","title":"PHP-CGI out-of-bounds read and write during PATH_INFO correction","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"PHP-CGI out-of-bounds read and write during PATH_INFO correction.\n\nThe 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.\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.12818,"percentile":0.96384,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564","tags":["vendor-advisory"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.28},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":["< 8.2.36",">= 8.3.0, < 8.3.37",">= 8.4.0, < 8.4.28",">= 8.5.0, < 8.5.13"]}],"capec":[{"id":"CAPEC-129","name":"Pointer Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-19T16:08:57.554855Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-130137","exploited":false,"provenance":"source"}}