CVE-2026-124291 in Net::Serverinfo

Summary

by MITRE • 11/30/2026

Net::Server::Proto::SSL versions through 2.018 for Perl allow clients to hold server processes indefinitely via a TLS handshake that has no timeout and runs before allow/deny checks.

The handshake runs in post_accept, before the client address is read and the allow/deny rules are applied. The listening socket is created without a timeout, so the handshake blocks until the client speaks. A failed handshake dies, and nothing in the server loop catches it without re-throwing it.

A remote client, including one the allow/deny rules reject, can hold a server process with an idle connection, so enough idle connections stop the server from answering. A client that sends plaintext ends a PreFork child process, or stops a Single server.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/30/2026

The vulnerability in Net::Server::Proto::SSL versions through 2.018 for Perl represents a significant availability risk stemming from improper handling of TLS handshake timeouts and the sequencing of access control checks relative to connection acceptance. This flaw allows remote attackers to exhaust server resources by maintaining idle connections that block worker processes, effectively rendering the service unavailable to legitimate users. The core issue lies in the architectural decision within the post_accept phase, where the SSL/TLS handshake is initiated before the client's IP address is retrieved and subjected to allow or deny rules. Because the listening socket is configured without a timeout mechanism for this initial handshake phase, any incoming connection will cause the server process to block indefinitely until the remote peer completes the cryptographic exchange or closes the connection. This design flaw means that access control lists are bypassed during the resource-intensive handshake period, allowing even explicitly denied clients to consume system resources.

From an operational perspective, this vulnerability facilitates a denial-of-service attack where an adversary can hold server processes hostage with minimal effort. In environments utilizing pre-forking models, such as those common in Perl web servers like Apache or standalone daemons using Net::Server, each accepted connection typically spawns or utilizes a dedicated child process to handle the request lifecycle. When a malicious client initiates a TLS handshake but fails to complete it within any reasonable timeframe, or simply maintains an idle state after partial negotiation, the associated pre-forked child process remains occupied and unable to serve other requests. Since the server loop does not catch and re-throw exceptions arising from failed handshakes in a manner that allows for graceful cleanup of these stuck processes, the resource leak persists until the parent process terminates or the connection is forcibly closed by network infrastructure like firewalls. In single-threaded or non-forking configurations, such as Single server modes, the entire application may become unresponsive if it waits indefinitely on a blocked socket read during the handshake phase.

This vulnerability aligns with CWE-400, which describes Uncontrolled Resource Consumption, specifically manifesting as resource exhaustion through idle connections that are not properly timed out or cleaned up. Furthermore, from an offensive security perspective, this behavior is consistent with ATT&CK technique T1499, Endpoint Denial of Service, where the attacker targets system availability by consuming computational resources such as CPU time or memory via persistent network connections. The lack of a timeout on the SSL handshake effectively creates a resource sink that can be exploited to degrade service quality or cause complete outages without requiring authentication or bypassing complex application logic.

Mitigation strategies must focus on enforcing strict timeouts at the socket level before any protocol-specific processing occurs, ensuring that access control checks are applied prior to initiating expensive cryptographic operations where possible, and implementing robust exception handling for handshake failures. Administrators should upgrade to patched versions of Net::Server that address this sequencing issue or configure their underlying web server proxies to enforce connection timeouts on SSL handshakes. Additionally, deploying network-level rate limiting or intrusion prevention systems can help mitigate the impact by detecting and dropping connections from sources exhibiting suspicious handshake behaviors before they reach the vulnerable application layer.

Responsible

CPANSec

Reservation

11/07/2026

Disclosure

11/30/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!