Bug 2567316 - CVE-2026-120651 perl-CGI: perl-cgi: Denial of Service via truncated request body [fedora-all]
Summary: CVE-2026-120651 perl-CGI: perl-cgi: Denial of Service via truncated request b...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CGI
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["3657edba-ffc6-4bf4-abd6-b...
Depends On:
Blocks: CVE-2026-120651
TreeView+ depends on / blocked
 
Reported: 2026-11-05 14:29 UTC by Marian Rehak
Modified: 2026-11-05 14:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-11-05 14:29:07 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.