CVE-2026-124290
Received Received - Intake

CPU Exhaustion in Net::Server Perl Module

Vulnerability report for CVE-2026-124290, 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 versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects. read_until reads one byte per iteration and leaves the loop only once it has the requested number of bytes or a match for the end pattern. Nothing checks the return value of read(), so once the peer has closed the connection every read returns 0 and the loop spins at full CPU. The TCP, UNIX and SSL protocol classes and Net::Server::INET share this loop. The SSLEAY protocol class is not affected. Net::Server::HTTP reads every request header through read_until, so a client that connects and closes before ending its headers holds a worker at full CPU until timeout_header (15 seconds by default) fires. A stream of such short-lived connections keeps every worker busy. Other callers of read_until without their own timeout spin indefinitely.

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 in Net::Server versions through 2.018 for Perl causes CPU exhaustion due to a read_until loop that continues running even after a client disconnects. The loop reads one byte at a time but does not check if the connection is closed, so it spins at full CPU usage indefinitely when read() returns 0 after disconnection.

Detection Guidance

Monitor CPU usage spikes on systems running Perl applications using Net::Server. Check for processes consuming 100% CPU during network activity. Use system monitoring tools like top, htop, or ps to identify suspicious processes. Inspect network connections with netstat or ss to detect repeated short-lived connections.

Impact Analysis

This vulnerability can lead to denial-of-service conditions where a single malicious client can consume 100% CPU on a server by repeatedly connecting and disconnecting without sending complete data. This exhausts server resources, slows down legitimate requests, and may crash the server if all workers are busy handling these fake connections.

Mitigation Strategies

Apply the official patch from Resource 1 to update the read_until function in Net::Server modules. Restart affected services after patching. Implement rate limiting on HTTP servers to prevent abuse. Monitor logs for repeated connection attempts and block suspicious IPs. Consider upgrading to a patched version of Net::Server if available.

Chat Assistant

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