Bug 2585915 (CVE-2026-124304)

Summary: CVE-2026-124304 perl-net-server: perl-net-server: Denial of Service via improper end-of-stream handling on client disconnect
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in perl-net-server, which could lead to a Denial of Service (DoS). When a remote client disconnects after establishing a secure Transport Layer Security (TLS) connection, the server's SSLEAY protocol handler fails to recognize the end of the data stream. This condition causes the server process to enter an infinite loop and consume maximum CPU resources indefinitely. By repeatedly opening and abruptly closing connections, a remote attacker can exhaust all server worker processes, rendering the service unavailable to legitimate users.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-29 23:41:37 UTC
Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline that returns an empty string instead of undef at end of stream.

getline ignores the failure status of the underlying read, so once the peer has closed the connection every call returns a defined empty string. STDIN is tied to the client, so a handler that reads with while (<STDIN>), as the default process_request does, never sees end of file and loops without blocking. The default handler re-arms its 30-second alarm on every pass, so the alarm never fires.

A client that completes a TLS handshake and disconnects keeps one server process busy indefinitely, and repeating this takes every process.