Libcgi pm perl: CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline
Affects libcgi-pm-perlSource GCVE Database
Not known to be exploited · CVSS 7.2 High.
Data as of 12 Nov 2026, 22:05 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.2 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid passing untrusted user input directly into HTTP header values processed by libcgi-pm-perl. Consider applying input validation or escaping to prevent injection of newline characters.
Description
Libcgi pm perl versions before 5.00 contain a vulnerability that allows HTTP header injection via improper entity decoding after newline checks and unchecked header values in multipart processing functions. This can enable an attacker to inject headers or split HTTP responses when user input is passed into these header values.
References
- ubuntu.com/security/CVE-2026-120639 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-120639 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/44874826/ (opens in a new tab)
- github.com/leejo/CGI.pm/commit/69955309d371c8093d11cf12e3ddef491537ffad (opens in a new tab)
- github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4 (opens in a new tab)
- github.com/leejo/CGI.pm/commit/69955309d371c8093d11cf12e3ddef491537ffad.patch (opens in a new tab)
- github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.patch (opens in a new tab)
- metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm (opens in a new tab)
- metacpan.org/release/LEEJO/CGI-5.00/changes (opens in a new tab)