CVE-2026-135843
Received Received - Intake

Denial of Service in Net::Server::PSGI Perl Module

Vulnerability report for CVE-2026-135843, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: CPANSec

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Net::Server::PSGI versions up to 2.018 for Perl have a flaw where a client that stops reading a response can indefinitely block a server process. The timeout_idle alarm fails to end blocked writes because partial data sent before the alarm triggers causes the write to resume blocking. Each such connection consumes a server process, and enough connections can exhaust max_servers, preventing new requests from being handled.

Detection Guidance

Detecting this vulnerability requires monitoring for hung server processes due to stalled client connections. Check for processes stuck in 'D' state (uninterruptible sleep) using commands like 'ps aux | grep perl' or 'top'. Monitor server logs for connections that remain open without completing requests. Use 'netstat -tulnp' to identify suspicious client connections holding ports open.

Impact Analysis

This vulnerability allows an attacker to create many connections that send large responses but stop reading, consuming all available server processes. This can lead to denial of service, making the server unresponsive to legitimate users. Servers may become slow or completely unavailable.

Mitigation Strategies

Apply the provided patch from Resource 1 to set SO_SNDTIMEO socket options. Restart the Net::Server::PSGI service after patching. Limit concurrent connections using server configuration to prevent resource exhaustion. Monitor server processes and restart hung workers immediately if detected.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135843. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...