CVE-2026-120651: CGI (Perl module) · Infinite Loop
Affects CGI (Perl module)Source CVE Database V5
Not known to be exploited : upgrade to 5.00 soon.
Data as of 4 Nov 2026, 00:59 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 5.00
Exploitation 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 3 Nov 2026.
What to do
Upgrade CGI (Perl module) to 5.00.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CGI | Affected
| Fixed in
|
CPANCGIpkg:cpan/CGIOther 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
Upgrade to CGI version 5.00 or later, where this infinite loop vulnerability is fixed. No other mitigation is indicated.
Description
CGI versions prior to 5.00 for Perl contain an infinite loop vulnerability triggered by a short request body when $DISABLE_UPLOADS is set. This occurs because the server reads until the declared Content-Length is reached, but if the actual body is shorter, the read returns zero repeatedly, causing the server process to hang indefinitely. This can be exploited by a client to keep a server process busy, potentially leading to denial of service.
References
- 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)
- 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)