Vulnerability
CVE-2026-129538
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.
1070 advisories report this vulnerability, across 14 ecosystems.
Advisories in Chainguard
- CGA-2487-32mc-p998
- CGA-249m-mw9j-3wv9
- CGA-24w7-v5q5-xp5j
- CGA-24wv-x2mv-rq4x
- CGA-257h-28xq-94r6
- CGA-25vc-gf6j-95vm
- CGA-26qm-wc55-r2gc
- CGA-272h-hp74-gfmr
- CGA-273c-7m5j-2qmc
- CGA-27c5-r4vf-8wvj
- CGA-27r7-ggcg-gjm8
- CGA-2899-8hm6-hqmj
- CGA-2933-p7f8-q7wc
- CGA-2c4j-934x-chrq
- CGA-2c94-m5qg-4wpj
- CGA-2cc9-r8x9-gjqx
- CGA-2cf7-j5g2-xjxr
- CGA-2cgw-frhc-62h6
- CGA-2f6h-3q64-gxqj
- CGA-2fmc-q7fw-m34p
- CGA-2fw2-x45r-2g4c
- CGA-2fx6-prcw-qm2g
- CGA-2grm-857w-xj77
- CGA-2h7m-hwph-4cw4
- CGA-2hrv-c7xj-q8qv
- CGA-2j77-cgwf-c6cp
- CGA-2jxc-48qh-5p58
- CGA-2jxg-cf7p-76qf
- CGA-2m9g-q28j-f4gq
- CGA-2mc6-w64h-f549
- CGA-2mv3-2g24-wwr7
- CGA-2mvr-v3x6-qp92
- CGA-2p4x-6h87-j36m
- CGA-2pj2-679p-rxvg
- CGA-2pjc-4wfw-7mpq
- CGA-2q8f-cr2v-qj9g
- CGA-2qrw-x858-hg2x
- CGA-2r53-hm4c-wmhr
- CGA-2r5h-34vp-g3f7
- CGA-2rp4-r2wr-rx4x
- CGA-2v6v-cp9v-fmc4
- CGA-2w3g-rgfg-6xhj
- CGA-2w43-qvm9-g9j5
- CGA-2x2g-2f64-wcgw
- CGA-2x5x-8q5c-cjc5
- CGA-2xf9-4575-h5f5
- CGA-2xvr-fh6x-8ff9
- CGA-2xw8-9m3r-7vjh
- CGA-32hx-pc3v-586v
- CGA-33wx-2m55-976w
- CGA-35g2-22p8-vm83
- CGA-362j-j774-5vmx
- CGA-36qg-j224-f7xr
- CGA-36v3-h86q-5983
- CGA-378j-298m-8w5p
- CGA-37cr-546p-px8q
- CGA-37g4-4638-c466
- CGA-37j8-jwrq-6w5g
- CGA-38px-w94p-6j93
- CGA-39g5-4j8v-qmpg
- CGA-39hp-v6hm-mx62
- CGA-3c6m-9q3j-wgrg
- CGA-3f83-r9mc-mxx8
- CGA-3g3f-fmgw-3qxm
- CGA-3g4h-58v4-v7rj
- CGA-3g7f-ww9j-7mph
- CGA-3gvc-6439-f8hc
- CGA-3hhh-fjcw-qjjx
- CGA-3j5q-376g-79pj
- CGA-3jmg-qfvq-wqv7
- CGA-3jv2-89q8-qc8m
- CGA-3jw9-rfvc-9pqc
- CGA-3mg8-cp32-gr69
- CGA-3mqh-x4fj-qg2c
- CGA-3p36-jcm8-f8hg
- CGA-3pv2-5xh8-6w39
- CGA-3q8w-mh46-6hgr
- CGA-3qwp-fhh3-v4fj
- CGA-3r7f-rmv5-7rhm
- CGA-3rjg-gq4p-4jcm
- CGA-3rpj-m5h5-p4gp
- CGA-3rq9-cmwq-wpcc
- CGA-3v24-qphr-g363
- CGA-3v9c-m4fg-3385
- CGA-3vfw-9v5w-6f4q
- CGA-3wmq-cw29-rh7v
- CGA-3wrp-rx27-9h46
- CGA-3x6w-mfvv-27j3
- CGA-3x77-477h-cfxg
- CGA-3xch-4vfg-5qp2
- CGA-42p2-qh5p-m88c
- CGA-432q-2w33-pfmq
- CGA-43ph-m258-xgqm
- CGA-43wc-2h7j-637v
- CGA-43x4-hhxv-f8xf
- CGA-445f-qf6v-q85r
- CGA-44fp-rf6g-vj6m
- CGA-44wh-pfm5-38h8
- CGA-4592-4jmx-rpc6
- CGA-459p-648f-prg2
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-129538.