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

Published Nov 29, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Malformed HTTP requests trigger an error during request processing in Net::Server::PSGI. The process_request routine sends a 500 response and then re‑throws the same exception. Because no higher level exception handler traps the exception, the worker thread or the single‑process server terminates after sending the error. This results in loss of a worker or complete stoppage of the service, effectively denying service to legitimate users. This weakness is an unhandled exception flaw, classified as CWE-248 (Unexpected Crash).

Affected Systems

The weakness affects Net::Server::PSGI for Perl up to version 2.018, including all minor releases within that range. Any deployment using those versions is vulnerable.

Risk and Exploitability

An attacker who can issue HTTP requests, such as using an unknown method like FOO, can repeatedly send malformed packets to kill individual workers in PreFork mode or to halt a Single server outright. The exploit requires network access to the target service; the CVSS score is not provided, and EPSS is unavailable, but the impact on availability is clear. The vulnerability is not listed in CISA KEV. The remote nature of the attack makes it easy for an external actor to trigger the denial of service without authentication.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Apply the official patch published for Net::Server::PSGI 2.018 to prevent re‑throwing of request errors
  • If patching is not feasible, subclass the server and override process_request to wrap the parent method call in an eval that swallows any exception after the 500 response has been sent
  • Restrict network exposure of the server to trusted hosts or firewall the service to limit the potential for malicious malformed requests

Generated by OpenCVE AI on November 30, 2026 at 00:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-248
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 29, 2026, 11:29 PM
Reserved
Nov 7, 2026, 11:59 AM
Status
Received
Published
Nov 30, 2026, 12:17 AM
Modified
Nov 30, 2026, 12:17 AM