{"id":"CVE-2026-135843","aliases":["CVE-2026-135843"],"related":[],"kind":"vulnerability","state":"published","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","summary":"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.\n\nprocess_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.\n\nA 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nprocess_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.\n\nA 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":"cvelist"}],"published":"2026-11-29T23:27:45.421Z","modified":"2026-11-30T00:17:59.663Z","severities":[],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.018","status":"affected"}],"package":"Net-Server","repo":"https://github.com/rhandom/perl-net-server","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-135843-r1.patch","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135843","url":"https://www.cve.org/CVERecord?id=CVE-2026-135843","licence":"CVE Terms of Use","modified":"2026-11-29T23:27:45.421Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135843","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135843","licence":"Public domain","modified":"2026-11-30T00:17:59.663Z"}],"updatedAt":"2026-11-30T00:32:38.259Z","epss":{"score":0.00394,"percentile":0.35695,"date":"2026-12-01T12:00:22.000Z"}}