{"id":"CVE-2026-129538","aliases":["CVE-2026-129538","BIT-LIBPHP-2026-129538","BIT-PHP-2026-129538","BIT-PHP-MIN-2026-129538","GHSA-5j3f-64r7-f564"],"related":[],"kind":"vulnerability","state":"published","title":"PHP-CGI out-of-bounds read and write during PATH_INFO correction","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-19T14:42:40.521Z","modified":"2026-11-27T06:56:04.293Z","severity":{"scorer":"php","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-125","CWE-787","CWE-823"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.2.36","status":"affected"},{"type":"semver","introduced":"8.3.0","fixed":"8.3.37","status":"affected"},{"type":"semver","introduced":"8.4.0","fixed":"8.4.28","status":"affected"},{"type":"semver","introduced":"8.5.0","fixed":"8.5.13","status":"affected"}],"vendor":"PHP Group","product":"PHP","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129538","tags":["web"],"sources":["bitnami"]}],"credits":["Ilia Alshanetsky","DylanH","Sahar Avitan","keyme","h1ei1","Joao Cunha da Silva","Jakub Zelenka","Derick Rethans"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-19T16:08:57.554Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129538","url":"https://www.cve.org/CVERecord?id=CVE-2026-129538","licence":"CVE Terms of Use","modified":"2026-11-19T19:36:26.907Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129538","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129538","licence":"Public domain","modified":"2026-11-19T21:45:08.700Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-129538","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-129538","licence":"Apache-2.0","modified":"2026-11-27T06:56:04.293Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-129538","url":"https://osv.dev/vulnerability/BIT-PHP-2026-129538","licence":"Apache-2.0","modified":"2026-11-27T06:56:04.293Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-129538","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-129538","licence":"Apache-2.0","modified":"2026-11-27T06:56:04.293Z"}],"updatedAt":"2026-11-27T07:07:32.437Z","epss":{"score":0.12818,"percentile":0.96381,"date":"2026-12-01T12:00:22.000Z"}}