CVE-2026-124291: Net::Server::Proto::SSL versions through 2.018 for Perl allow clients to hold server processes indefinitely via a TLS handshake that has no timeout and runs before allow/deny checks
Robert Rothenberg 29 Nov 2026 23:55 UTC
========================================================================
CVE-2026-124291 CPAN Security Group
========================================================================
CVE ID: CVE-2026-124291
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::Proto::SSL versions through 2.018 for Perl allow clients
to hold server processes indefinitely via a TLS handshake that has no
timeout and runs before allow/deny checks
Description
-----------
Net::Server::Proto::SSL versions through 2.018 for Perl allow clients
to hold server processes indefinitely via a TLS handshake that has no
timeout and runs before allow/deny checks.
The handshake runs in post_accept, before the client address is read
and the allow/deny rules are applied. The listening socket is created
without a timeout, so the handshake blocks until the client speaks. A
failed handshake dies, and nothing in the server loop catches it
without re-throwing it.
A remote client, including one the allow/deny rules reject, can hold a
server process with an idle connection, so enough idle connections stop
the server from answering. A client that sends plaintext ends a PreFork
child process, or stops a Single server.
Problem types
-------------
- CWE-1088 Synchronous Access of Remote Resource without Timeout
- CWE-248 Uncaught Exception
Workarounds
-----------
No fixed release is available. Apply the patch. For deployments that
cannot apply the patch, terminate TLS in a reverse proxy and run the
server on proto tcp.
References
----------
https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSL.pm
https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm
https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124291-r1.patch