CVE-2026-120651: Libcgi pm perl · CGI versions before 5.00 for Perl allow an infinite loop on a short request body
Affects libcgi-pm-perlSource GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 12 Nov 2026, 21:02 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.5 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation 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, consider disabling or restricting access to vulnerable CGI scripts or applying network-level protections to mitigate potential denial of service attempts.
Description
CGI versions before 5.00 for Perl contain a vulnerability that allows an infinite loop when processing a short request body with $DISABLE_UPLOADS set. This occurs because the code reads until the Content-Length bytes have arrived, but if the body is shorter than declared, the read returns 0 repeatedly, causing the server process to hang indefinitely. This can be exploited by a client to keep a server process spinning, resulting in a denial of service.
References
- ubuntu.com/security/CVE-2026-120651 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-120651 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/44875017/ (opens in a new tab)
- github.com/leejo/CGI.pm/commit/16d9f61acf8b844b7360e8d726338e3ce34dfa9f (opens in a new tab)
- github.com/leejo/CGI.pm/commit/8a78305065690461ae283fa24e5ebe4ec8a22fbc (opens in a new tab)
- github.com/leejo/CGI.pm/commit/16d9f61acf8b844b7360e8d726338e3ce34dfa9f.patch (opens in a new tab)
- github.com/leejo/CGI.pm/commit/8a78305065690461ae283fa24e5ebe4ec8a22fbc.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)