CVE-2026-124300: Net::Server::Thread versions through 2.018 for Perl terminate the whole server when a request timeout alarm fires in a handler thread Robert Rothenberg 29 Nov 2026 23:48 UTC

========================================================================
CVE-2026-124300                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-124300

   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 terminate the whole
server when a request timeout alarm fires in a handler thread

Description
-----------
Net::Server::Thread versions through 2.018 for Perl terminate the whole
server when a request timeout alarm fires in a handler thread.

Net::Server::HTTP and Net::Server::PSGI time each request with alarm()
and a local ALRM handler. Under the Thread server type that code runs
in a handler thread, but the alarm is process-wide and the main thread
installs no ALRM handler, so SIGALRM ends the server process.

A remote client that connects and sends an incomplete request, or
nothing, stops the server once the header timeout expires.

Problem types
-------------
- CWE-705 Incorrect Control Flow Scoping

Workarounds
-----------
No fixed release is available. Apply the patch. For deployments that
cannot apply the patch, run Net::Server::HTTP and Net::Server::PSGI
under 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://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm
https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm
https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124300-r1.patch