freenode

← CVE tracker

CVE-2026-124304

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

Severity
high CVSS 7.5 (v3.1)
Weakness
CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Published
29 November 2026 by CPANSec
First seen on our lists
29 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists