{"id":"CVE-2026-120651","summary":"CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set","details":"CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set.\n\nWhen $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends.\n\nA client can keep a server process spinning with one such request.","modified":"2026-11-11T10:30:41.895615164Z","published":"2026-11-03T23:41:17.179Z","related":["openSUSE-SU-2026:12465-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"fixed":"5.00"}]}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"fixed":"5.00"}]}]}],"cna_assigner":"CPANSec","cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120651.json"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120651.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120651"},{"type":"FIX","url":"https://github.com/leejo/CGI.pm/commit/16d9f61acf8b844b7360e8d726338e3ce34dfa9f.patch"},{"type":"FIX","url":"https://github.com/leejo/CGI.pm/commit/8a78305065690461ae283fa24e5ebe4ec8a22fbc.patch"},{"type":"PACKAGE","url":"https://github.com/leejo/CGI.pm"},{"type":"ARTICLE","url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leejo/cgi.pm","events":[{"introduced":"0"},{"fixed":"16d9f61acf8b844b7360e8d726338e3ce34dfa9f"},{"fixed":"8a78305065690461ae283fa24e5ebe4ec8a22fbc"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"16d9f61acf8b844b7360e8d726338e3ce34dfa9f"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8a78305065690461ae283fa24e5ebe4ec8a22fbc"}]}]}}],"versions":["v4.72","v4.71","v4.70","4.69","v4.68","v4.67","v4.65","v4.64","v4.63","v4.62","v4.61","v4.60","v4.59","v4.58","v4.57","v4.56","v4.55","v4.54","v4.53","v4.51","v4.49","v4.48","v4.47","v4.46","v4.45","v4.44","v4.42","v4.41","v4.40","v4.38","v4.37","v4.36","v4.35","v4.34","v4.33","v4.32","v4.31","v4.30","v4.29","v4.27","v4.26","v4.25","v4.24","v4.23","v4.22","v4.21","v4.20","v4.15","v4.13","v4.12","v4.11","v4.10","v4.09","v4.08","v4.05","v4.03","v4.02","v4.01","v4.00","v3.64-take-three","v3.64","v3.63","v3.62","v3.61","v3.58","v3.56","v3.53.1","v3.53","v3.52","v3.51"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120651.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}