CVE-2026-124304
Received Received - Intake

Denial of Service in Net::Server::Proto::SSLEAY Perl Module

Vulnerability report for CVE-2026-124304, 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::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline that returns an empty string instead of undef at end of stream. getline ignores the failure status of the underlying read, so once the peer has closed the connection every call returns a defined empty string. STDIN is tied to the client, so a handler that reads with while (<STDIN>), as the default process_request does, never sees end of file and loops without blocking. The default handler re-arms its 30-second alarm on every pass, so the alarm never fires. A client that completes a TLS handshake and disconnects keeps one server process busy indefinitely, and repeating this takes every process.

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-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Net::Server::Proto::SSLEAY Perl module through version 2.018. A remote client can exploit it by disconnecting after a TLS handshake, causing the server to enter an infinite loop. The issue stems from the getline method returning an empty string instead of undef when the connection closes, preventing the server from detecting the end of the stream and consuming full CPU resources.

Detection Guidance

Monitor for processes consuming 100% CPU indefinitely after a client disconnects. Check for Perl processes running Net::Server::Proto::SSLEAY versions through 2.018. Use system monitoring tools like top, htop, or ps to identify suspicious activity.

Impact Analysis

This vulnerability can cause a denial of service by consuming all available server processes. Each malicious client that disconnects after a TLS handshake will tie up one server process indefinitely, eventually exhausting server resources and preventing legitimate requests from being processed.

Mitigation Strategies

Apply the provided patch from Resource 1 to fix the getline method behavior. Update Net::Server::Proto::SSLEAY to a patched version. Restart affected services to ensure the fix is active.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-124304. 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...