CVE-2026-120639
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
- State
- Published
- Severity
- Not scored
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 2, 2026
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.
With 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.
An application that passes request data into these header values can be made to add headers or split the response.
Scores
The record has no CVSS score.
Weaknesses
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
Affected Products
| Product | Versions |
|---|---|
CGI |
|
References
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pmtechnical-description
- https://metacpan.org/release/LEEJO/CGI-5.00/changesrelease-notes
- https://github.com/leejo/CGI.pm/commit/69955309d371c8093d11cf12e3ddef491537ffad.patchpatch
- https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.patchpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.