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

High 7.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120639?

CVE-2026-120639 is a high-severity vulnerability in CGI, published on 3 Nov 2026.

Official 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.

Weakness: CWE-113

Which versions are affected by CVE-2026-120639?

1 open source package ship an affected version, including CGI.

PackageAffectedFixed in
CGI cpan
pkg:cpan/CGI
All versions5.00
Status by vendor (4)
WhoReleaseStatusPackages
Red Hat8deferredperl-CGI
Red Hat9deferredperl-CGI
Red Hat10deferredperl-CGI
Red Hatels/7deferredperl-CGI

How do I fix CVE-2026-120639?

Upgrade CGI to 5.00 or later.

Is CVE-2026-120639 being exploited?

There is no known exploitation of CVE-2026-120639 in the wild and no public exploit code.

Sources

Also known as AZL-112768, DEBIAN-CVE-2026-120639, DHI-o6i5-s3pl-fb7e-ywfh, GHSA-mxvj-3jfg-j4p6, UBUNTU-CVE-2026-120639.

Is CVE-2026-120639 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free