CVE-2026-124293: Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails

Published Nov 29, 2026
·
Updated

Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of maxservers and exit when thread creation fails.

The accept loop waits while threads->list() exceeds maxservers, but each handler thread is detached as soon as it is created, and threads->list() does not count detached threads. The count stays near zero, so the limit never applies. When thread creation fails, the loop calls detach on an undefined value and dies.

A remote client that holds connections open makes the server clone a Perl interpreter for each one until memory or thread limits are reached, and the server process then exits.

Affected Software

1 affected component
cpan/Net::Server::Thread<=2.018

Event History

Nov 29, 2026
CVE Published
via MITRE·11:29 PM
Data Sourced
via MITRE·11:29 PM
DescriptionWeakness
Nov 30, 2026
Data Sourced
via NVD·12:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Servers using Net::Server::Thread through version 2.018 are exposed if remote clients can establish connections to the service. An attacker can hold connections open to cause a new handler thread, including a cloned Perl interpreter, to be created for each connection.

2

Does setting max_servers limit the impact?

No. Handler threads are detached immediately, and detached threads are not counted by threads->list(), so the accept loop sees a count near zero and does not enforce max_servers.

3

What happens when system thread or memory capacity is exhausted?

Thread creation eventually fails. The server then attempts to detach an undefined value and exits, causing a denial of service.

4

What can be done if patching is not immediately possible?

Restrict or rate-limit incoming connections and enforce connection limits outside the affected process. This reduces an attacker's ability to hold enough simultaneous connections open to exhaust thread or memory resources.

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