CVE-2026-124304
JSON

Not scored

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
Not scored
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

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.

Affected

Product or packageVersionsReported by
Net-Serverup to 2.018CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-124304 changed 2026-11-29CVE Terms of Use
NVDCVE-2026-124304 changed 2026-11-30Public domain