CVE-2026-124295: Net::Server::PSGI versions through 2.018 for Perl allow one malformed request to kill a worker or stop a single-process server, as process_request re-throws the error after sending a 500 response
Robert Rothenberg 29 Nov 2026 23:53 UTC
========================================================================
CVE-2026-124295 CPAN Security Group
========================================================================
CVE ID: CVE-2026-124295
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::PSGI versions through 2.018 for Perl allow one malformed
request to kill a worker or stop a single-process server, as
process_request re-throws the error after sending a 500 response
Description
-----------
Net::Server::PSGI versions through 2.018 for Perl allow one malformed
request to kill a worker or stop a single-process server, as
process_request re-throws the error after sending a 500 response.
When header parsing or the application dies, process_request sends the
500 response and then dies with the same error. Nothing above it
catches the error without re-throwing it: a PreFork child exits, and
the Single server type, whose accept loop has no eval, ends the server.
A remote attacker can kill one worker per request under PreFork, the
default server type, for example with an unknown method such as FOO,
and can stop a Single server outright.
Problem types
-------------
- CWE-248 Uncaught Exception
Workarounds
-----------
No fixed release is available. Apply the patch. For deployments that
cannot apply the patch, override process_request in a subclass to call
the inherited method inside an eval, which discards the error after the
500 response has been sent.
References
----------
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-124295-r1.patch