CVE-2026-120639

NameCVE-2026-120639
DescriptionCGI 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcgi-pm-perl (PTS)bookworm4.55-1vulnerable
trixie4.68-1vulnerable
forky4.72-1vulnerable
sid5.02-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcgi-pm-perlsource(unstable)5.02-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/44874826/
https://github.com/leejo/CGI.pm/commit/69955309d371c8093d11cf12e3ddef491537ffad (v5.01)
https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4 (v5.01)

Search for package or bug name: Reporting problems