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 n/a 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.

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.

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

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