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
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANNet-Server |
≤ 2.018→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135843 libnet-server-perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135843 libnet-server-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch security.metacpan.org
- web metacpan.org
- web github.com
- web cpan.org