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
Robert Rothenberg 29 Nov 2026 23:54 UTC
========================================================================
CVE-2026-124293 CPAN Security Group
========================================================================
CVE ID: CVE-2026-124293
Distribution: Net-Server
Versions: through 2.018
MetaCPAN: https://metacpan.org/dist/Net-Server
VCS Repo: https://github.com/rhandom/perl-net-server
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
Description
-----------
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.
The accept loop waits while threads->list() exceeds max_servers, 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.
Problem types
-------------
- CWE-770 Allocation of Resources Without Limits or Throttling
Workarounds
-----------
No fixed release is available. Apply the patch. For deployments that
cannot apply the patch, use the PreFork or Fork server type instead of
Thread.
References
----------
https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Thread.pm
https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124293-r1.patch