---
title: "CVE-2026-120651"
canonical_url: "https://pkgseek.com/security/CVE-2026-120651"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-120651

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.

CVE-2026-120651 is rated HIGH (7.5), with 10 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 10
- **Affected distros**: 3
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libcgi-pm-perl | 4.68-1 | — |
| Fedora | 43 | perl-CGI | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 43 | perl-CGI-tests | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 44 | perl-CGI | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 44 | perl-CGI-tests | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 45 | perl-CGI | 4.72-2.fc45 | 5.02-1.fc45 |
| Fedora | 45 | perl-CGI-tests | 4.72-2.fc45 | 5.02-1.fc45 |
| Ubuntu | focal | libcgi-pm-perl | 4.46-1 | — |
| Ubuntu | jammy | libcgi-pm-perl | 4.54-1 | — |
| Ubuntu | noble | libcgi-pm-perl | 4.63-1 | — |
