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
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANNet-Server |
≤ 2.018→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-124304 libnet-server-perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-124304 libnet-server-perl No fixed version in this record
Original description The description as published by the source.
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 (), 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch security.metacpan.org
- web metacpan.org
- web github.com
- web cpan.org