CVE-2026-135843

Net::Server::PSGI versions through 2.018 for Perl allow a client that stops reading a response to hold a server process indefinitely, as the timeout_idle alarm cannot end a blocked write

Published Nov 29, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
Net::Server::PSGI versions through 2.018 for Perl allow a client that stops reading a response to hold a server process indefinitely, as the timeout_idle alarm cannot end a blocked write.

process_request bounds each request with an alarm whose handler dies, and print_psgi_body writes the response to the blocking client socket. When the alarm interrupts a write that has already sent part of its buffer, perl's I/O layer returns the partial count without running the handler and blocks again on the rest, so the handler runs only once the write ends.

A remote attacker who requests a response larger than the socket buffers and then stops reading holds one server process per connection. Enough such connections to reach max_servers stop the server from answering new requests.

Analysis

AI-generated

Technical impact

Net::Server::PSGI versions through 2.018 for Perl contain a flaw where a client that stops reading a response can keep a server process blocked indefinitely. During a request, the server sets an alarm to kill idle processes, but when a write is interrupted after sending part of a large response, Perl's I/O layer returns the partial count and blocks again on the remaining data, preventing the alarm from firing. A remote attacker can exploit this by requesting a response larger than the socket buffer and then ceasing to read, causing each server process to hang.

Affected Systems

The vulnerability affects the Net::Server::PSGI module up to and including version 2.018 for the Perl programming language. Any installation of this module that has not been upgraded beyond 2.018 is potentially susceptible. The affected component is the PSGI server implementation provided by Net::Server on CPAN.

Risk and Exploitability

Because the flaw manifests as a denial of service, it does not grant code execution or privilege escalation. An attacker only needs network access to the server and can drain resources by opening enough connections to exhaust the allowed max_servers, preventing new requests from being served. The opportunity to exploit the vulnerability is high for unauthenticated attackers, but no CVSS score or EPSS data are available to quantify the risk. The vulnerability is not currently listed in CISA's KEV catalog, indicating no known widespread exploitation yet.

Remediation

Vendor Workaround

No fixed release is available. Apply the patch together with the patch for CVE-2026-124295, without which a timed-out write stops a Single server. For deployments that cannot apply the patch, run the server behind a reverse proxy that buffers whole responses.


OpenCVE Recommended Actions

  • Apply the patch for CVE-2026-135843 from the CPAN patch repository.
  • Apply the patch for CVE-2026-124295, which is required for the CVE-2026-135843 fix to work correctly.
  • If updating the module is not possible, configure a reverse proxy (e.g., nginx or HAProxy) to fully buffer responses before forwarding them to clients.

Generated by OpenCVE AI on November 30, 2026 at 00:37 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 a client that stops reading a response to hold a server process indefinitely, as the timeout_idle alarm cannot end a blocked write. process_request bounds each request with an alarm whose handler dies, and print_psgi_body writes the response to the blocking client socket. When the alarm interrupts a write that has already sent part of its buffer, perl's I/O layer returns the partial count without running the handler and blocks again on the rest, so the handler runs only once the write ends. A remote attacker who requests a response larger than the socket buffers and then stops reading holds one server process per connection. Enough such connections to reach max_servers stop the server from answering new requests.
Title Net::Server::PSGI versions through 2.018 for Perl allow a client that stops reading a response to hold a server process indefinitely, as the timeout_idle alarm cannot end a blocked write
Weaknesses CWE-770
References

Subscriptions

No data.

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 29, 2026, 11:27 PM
Reserved
Nov 24, 2026, 10:22 AM
Status
Received
Published
Nov 30, 2026, 12:17 AM
Modified
Nov 30, 2026, 12:17 AM