CVE-2026-124304
publishedNet::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Net-Server0 through 2.018 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Net-Server | 0 through 2.018 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
2Provider assertions
1CPANSec · cna
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
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dc2b6ba3381fff7be6b4333d1086a2d0542504f8127976980f11b9ea80187546
- Ingested
- 29 Nov 2026, 23:41:53 UTC
- Source record
- Official CVE record