# CVE-2026-124304: 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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-29T23:34:00.464Z
- Modified: 2026-11-30T00:17:59.130Z
- Weaknesses: CWE-835
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Net-Server: up to 2.018

## References

- <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm> (technical-description)
- <https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124304-r1.patch> (patch)

## Sources

- CVE List: [CVE-2026-124304](https://www.cve.org/CVERecord?id=CVE-2026-124304), CVE Terms of Use, modified 2026-11-29
- NVD: [CVE-2026-124304](https://nvd.nist.gov/vuln/detail/CVE-2026-124304), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-124304 · Whole record: https://cve.day/CVE-2026-124304.json · Rebuilt by cve.day 2026-11-30T00:32:37.821Z
