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.
Metrics
Affected Vendors & Products
References
History
Sun, 29 Nov 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-835 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published: 2026-11-29T23:34:00.464Z
Updated: 2026-11-29T23:34:00.464Z
Reserved: 2026-11-07T12:01:00.980Z
Link: CVE-2026-124304
No data.
Status : Received
Published: 2026-11-30T00:17:59.130
Modified: 2026-11-30T00:17:59.130
Link: CVE-2026-124304
No data.