Read the docs

Loop with unreachable exit condition in Perl Net::Server lets clients pin CPU

Priority LOW 23CWE-835Published · Updated

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

EPSS 0.0028 13th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Net-Serverup to 2.018—No fix listedCNA
  • 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

  1. 2026-11-29 Threatist record created from CVE-2026-124304
  2. 2026-11-30 Alias added: GHSA-qxj6-9m4j-q3w3

References

Sources