{"id":"CVE-2026-120650","state":"PUBLISHED","title":"CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits","description":"CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits.\n\n$CGI::POST_MAX defaults to no limit, and when set is not enforced for chunked multipart bodies or for the boundary line of a multipart body without a boundary= parameter. Bodies saved as PUTDATA, POSTDATA or PATCHDATA uploads are read into memory in one go, and nothing limits the number of parameters or uploads.","publishedAt":"2026-11-03T23:41:14.474Z","updatedAt":"2026-11-09T18:45:45.811Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["CGI"],"affected":[{"packageName":"CGI","packageURL":"pkg:cpan/CGI","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.00","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["CGI"],"programFiles":["lib/CGI.pm"],"programRoutines":[{"name":"CGI::init"},{"name":"CGI::parse_params"},{"name":"CGI::read_multipart"},{"name":"CGI::read_multipart_related"},{"name":"CGI::read_postdata_putdata"},{"name":"CGI::MultipartBuffer::new"},{"name":"CGI::MultipartBuffer::fillBuffer"}],"repo":"https://github.com/leejo/CGI.pm"}],"references":["https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm","https://metacpan.org/release/LEEJO/CGI-5.00/changes","https://github.com/leejo/CGI.pm/commit/17b838dc14d2b82ae6c7e76f66ec2c3f3b08038b.patch","https://github.com/leejo/CGI.pm/commit/f3febefe63fe3881d8c3ae10fa83ca8ec950b959.patch","https://github.com/leejo/CGI.pm/commit/277baeb74fde7bce975a7bd0a1f98dcf1b9b2050.patch","https://github.com/leejo/CGI.pm/commit/8940a74e53a41563f72813b45f99cceaaa4c92e8.patch"],"weaknesses":["CWE-770"],"ingestedAt":"2026-11-09T18:54:06.678Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120650.json","commit":"27ad41162fc3005c855f69c985fb3a1d65a969b3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120650","state":"PUBLISHED","datePublished":"2026-11-03T23:41:14.474Z","dateUpdated":"2026-11-09T18:45:45.811Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-11-02T17:58:00.641Z"},"containers":{"cna":{"title":"CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits","descriptions":[{"lang":"en","value":"CGI versions before 5.00 for Perl allow memory, CPU and disk exhaustion via missing or unenforced request size, parameter and upload limits.\n\n$CGI::POST_MAX defaults to no limit, and when set is not enforced for chunked multipart bodies or for the boundary line of a multipart body without a boundary= parameter. Bodies saved as PUTDATA, POSTDATA or PATCHDATA uploads are read into memory in one go, and nothing limits the number of parameters or uploads."}],"affected":[{"packageName":"CGI","packageURL":"pkg:cpan/CGI","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.00","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["CGI"],"programFiles":["lib/CGI.pm"],"programRoutines":[{"name":"CGI::init"},{"name":"CGI::parse_params"},{"name":"CGI::read_multipart"},{"name":"CGI::read_multipart_related"},{"name":"CGI::read_postdata_putdata"},{"name":"CGI::MultipartBuffer::new"},{"name":"CGI::MultipartBuffer::fillBuffer"}],"repo":"https://github.com/leejo/CGI.pm"}],"references":[{"url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm","tags":["technical-description"]},{"url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes","tags":["release-notes"]},{"url":"https://github.com/leejo/CGI.pm/commit/17b838dc14d2b82ae6c7e76f66ec2c3f3b08038b.patch","tags":["patch"]},{"url":"https://github.com/leejo/CGI.pm/commit/f3febefe63fe3881d8c3ae10fa83ca8ec950b959.patch","tags":["patch"]},{"url":"https://github.com/leejo/CGI.pm/commit/277baeb74fde7bce975a7bd0a1f98dcf1b9b2050.patch","tags":["patch"]},{"url":"https://github.com/leejo/CGI.pm/commit/8940a74e53a41563f72813b45f99cceaaa4c92e8.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-11-03T23:41:14.474Z"},"solutions":[{"lang":"en","value":"Upgrade to CGI 5.00 or later."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"For deployments that cannot upgrade, limit the request body size at the web server and set $CGI::POST_MAX."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T18:44:54.920951Z","id":"CVE-2026-120650","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T18:45:45.811Z"}}]}}}