{"id":"CVE-2026-120639","state":"PUBLISHED","title":"CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push","description":"CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push.\n\nWith autoEscape off, header decodes HTML entities in extra header values after its newline check, so an encoded CR or LF reaches the response. multipart_start does not check header values for newlines, and do_push does not check the type it prints in each part.\n\nAn application that passes request data into these header values can be made to add headers or split the response.","publishedAt":"2026-11-03T23:40:30.552Z","updatedAt":"2026-11-09T19:14:25.940Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","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","lib/CGI/Push.pm"],"programRoutines":[{"name":"CGI::header"},{"name":"CGI::multipart_start"},{"name":"CGI::Push::do_push"}],"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/69955309d371c8093d11cf12e3ddef491537ffad.patch","https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.patch"],"weaknesses":["CWE-113"],"ingestedAt":"2026-11-09T19:20:06.412Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120639.json","commit":"23dd7329a2fc1587153d555b09cffa1a3e08ef0f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120639","state":"PUBLISHED","datePublished":"2026-11-03T23:40:30.552Z","dateUpdated":"2026-11-09T19:14:25.940Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-11-02T17:40:59.077Z"},"containers":{"cna":{"title":"CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push","descriptions":[{"lang":"en","value":"CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push.\n\nWith autoEscape off, header decodes HTML entities in extra header values after its newline check, so an encoded CR or LF reaches the response. multipart_start does not check header values for newlines, and do_push does not check the type it prints in each part.\n\nAn application that passes request data into these header values can be made to add headers or split the response."}],"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","lib/CGI/Push.pm"],"programRoutines":[{"name":"CGI::header"},{"name":"CGI::multipart_start"},{"name":"CGI::Push::do_push"}],"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/69955309d371c8093d11cf12e3ddef491537ffad.patch","tags":["patch"]},{"url":"https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-113","description":"CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-11-03T23:40:30.552Z"},"solutions":[{"lang":"en","value":"Upgrade to CGI 5.00 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":7.2,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T19:13:53.241912Z","id":"CVE-2026-120639","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T19:14:25.940Z"}}]}}}