CVE-2026-120651
published high CVSS 3.1 · 7.5CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | CGI0 to < 5.00 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3436 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-cgi | Fixed | 5.02-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIaarch64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2023 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIppc64le | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIs390x | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIx86_64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2023 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2023-2026-3436 |
Description
CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set. When $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends. A client can keep a server process spinning with one such request.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CGI | 0 to < 5.00 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
4Provider assertions
2CPANSec · cna
CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc671c23414adaea599c23aea7d7b7ae68b0e5564f7bf09f5d5575a5573224f7
- Ingested
- 09 Nov 2026, 18:49:42 UTC
- Source record
- Official CVE record