CVE-2026-124303: Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to kill the server process by ending a connection without a clean TLS session, via stale OpenSSL errors that close treats as fatal Robert Rothenberg 29 Nov 2026 23:45 UTC

========================================================================
CVE-2026-124303                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-124303

   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::SSLEAY versions through 2.018 for Perl allow a
remote client to kill the server process by ending a connection without
a clean TLS session, via stale OpenSSL errors that close treats as
fatal

Description
-----------
Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a
remote client to kill the server process by ending a connection without
a clean TLS session, via stale OpenSSL errors that close treats as
fatal.

Read and write failures are classified with Net::SSLeay::get_error,
which leaves the OpenSSL error queue as it is. When the connection is
closed after the request, close dies if the queue holds any error, and
the exception ends the process. A handshake that fails during
post_accept dies the same way. Connections rejected by the allow and
deny rules are closed through the same path.

A remote client that sends plaintext or a malformed handshake, or with
OpenSSL 3 simply connects and closes, kills the PreFork worker handling
it or stops a Single server.

Problem types
-------------
- 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/SSLEAY.pm
https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124303-r1.patch