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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the 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.
References
History
Sun, 29 Nov 2026 23:45:00 +0000
| 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 |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-29T23:27:45.421Z
Reserved: 2026-11-24T10:22:13.761Z
Link: CVE-2026-135843
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses