Loop with unreachable exit condition in Perl Net::Server lets clients pin CPU
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from CNA. Impact type from CWE-835.
Summary
Net::Server::Proto::SSLEAY versions through 2.018 for Perl are affected. A getline call returns an empty string instead of undef at end of stream, so the default request handler's read loop never sees end of file. A remote client that completes a TLS handshake and then disconnects can hold a server process at full CPU indefinitely (CWE-835). Repeating this can occupy all server processes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the 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. 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Net-Server | up to 2.018 | — | No fix listed | CNA |
- Net-Server Vendor— Affected up to 2.018 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Net-Server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-29 Threatist record created from CVE-2026-124304
- 2026-11-30 Alias added: GHSA-qxj6-9m4j-q3w3
References
Sources
- CVE-2026-124304 · CVE Program
- CVE-2026-124304 · NVD
- FIRST EPSS
- GHSA-qxj6-9m4j-q3w3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences