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
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 timeoutidle alarm cannot end a blocked write.
processrequest bounds each request with an alarm whose handler dies, and printpsgibody 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 maxservers stop the server from answering new requests.
Affected Software
Event History
Frequently Asked Questions
What conditions must an attacker meet to cause service exhaustion?
The attacker must be able to make remote requests that produce responses larger than the socket buffers, then keep each connection open while no longer reading its response. Each such connection can hold one server process indefinitely.
When does this prevent the server from handling new requests?
New requests are blocked once enough stalled connections consume all processes allowed by max_servers. The issue is therefore most damaging where an attacker can sustain enough concurrent connections to reach that limit.
Does the idle timeout release the blocked process?
No. Although process_request uses timeout_idle through an alarm, a blocked write that has partially sent its buffer can return a partial count and block again before the alarm handler runs.
How can I tell whether a deployment is affected?
A deployment is affected if it uses Net::Server::PSGI version 2.018 or earlier and serves a response large enough to exceed socket buffers to a client that can stop reading. During exploitation, server processes remain occupied by connections with stalled response writes until max_servers is exhausted.