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

Published Nov 29, 2026
·
Updated

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 processrequest 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.

Affected Software

1 affected component
cpan/net-server<=2.018

Event History

Nov 29, 2026
CVE Published
via MITRE·11:34 PM
Data Sourced
via MITRE·11:34 PM
DescriptionWeakness

Frequently Asked Questions

1

What configuration is affected?

The affected behavior is in Net::Server::Proto::SSLEAY through version 2.018 when handling TLS client connections. The default process_request handler is affected because it reads from tied STDIN with while (<STDIN>).

2

What must an attacker do to trigger the denial of service?

An attacker must complete a TLS handshake and then disconnect. After the peer closes the connection, getline repeatedly returns a defined empty string rather than EOF, causing the server handler loop to consume CPU.

3

How severe can repeated exploitation be?

One disconnecting TLS client can keep a server process busy indefinitely at full CPU. Repeating the behavior can consume every available server process.

4

Will the default 30-second alarm stop the stuck process?

No. The default handler re-arms its 30-second alarm on each loop iteration, so the alarm does not fire while the empty-string read loop continues.

5

What can be done if an update cannot be applied immediately?

The provided data identifies a patch for Net-Server 2.018. No alternative mitigation is specified; prioritize applying the referenced patch and limiting exposure to untrusted TLS clients where possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203