{"id":"CVE-2026-120632","state":"PUBLISHED","title":"CGI versions before 5.00 for Perl allow CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type","description":"CGI versions before 5.00 for Perl allow CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type.\n\nWhen a POST Content-Type contains multipart/related, the boundary and start parameters are extracted with an unanchored pattern that puts .+ on either side of the boundary capture, which backtracks in cubic time on a header that does not match. No request body is needed.","publishedAt":"2026-11-03T23:40:01.071Z","updatedAt":"2026-11-09T18:48:40.821Z","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"}],"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/1e529c7ac8d410a51b4b04ab9d6cc00d51ef33c0.patch"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-11-09T18:54:06.678Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120632.json","commit":"27ad41162fc3005c855f69c985fb3a1d65a969b3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120632","state":"PUBLISHED","datePublished":"2026-11-03T23:40:01.071Z","dateUpdated":"2026-11-09T18:48:40.821Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-11-02T17:39:55.528Z"},"containers":{"cna":{"title":"CGI versions before 5.00 for Perl allow CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type","descriptions":[{"lang":"en","value":"CGI versions before 5.00 for Perl allow CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type.\n\nWhen a POST Content-Type contains multipart/related, the boundary and start parameters are extracted with an unanchored pattern that puts .+ on either side of the boundary capture, which backtracks in cubic time on a header that does not match. No request body is needed."}],"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"}],"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/1e529c7ac8d410a51b4b04ab9d6cc00d51ef33c0.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"CWE-1333 Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-11-03T23:40:01.071Z"},"solutions":[{"lang":"en","value":"Upgrade to CGI 5.00 or later."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"For deployments that cannot upgrade, reject Content-Type request headers longer than 1KB at the web server."}],"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:48:07.587654Z","id":"CVE-2026-120632","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:48:40.821Z"}}]}}}