CVE-2026-124293

Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails

Published Nov 29, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails.

The accept loop waits while threads->list() exceeds max_servers, but each handler thread is detached as soon as it is created, and threads->list() does not count detached threads. The count stays near zero, so the limit never applies. When thread creation fails, the loop calls detach on an undefined value and dies.

A remote client that holds connections open makes the server clone a Perl interpreter for each one until memory or thread limits are reached, and the server process then exits.

Analysis

AI-generated

Technical impact

The vulnerability lies in Net::Server::Thread older than version 2.018, which starts a new handler thread for every incoming connection is detached immediately after creation, the connection‑limit counter never increases, allowing an attacker to open many connections and exhaust system resources such as memory or thread limits. When the server finally fails to create a new thread it attempts to detach an undefined value and crashes, causing the server process to exit. The effect is a denial of service: legitimate clients are unable to connect while the server is restarting.

Affected Systems

Perl installations using the Net::Server::Thread module, all versions through 2.018, are affected. The issue manifests when the module runs the accept loop without accounting for detached threads, causing the limit to be ignored and resource exhaustion to occur.

Risk and Exploitability

No CVSS or EPSS score is provided, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is a remote client that opens many concurrent connections, a scenario that is feasible over the network. Because the flaw causes the server to terminate instead of silently rejecting excess connections, the practical impact is a loss of availability for any users communicating with the affected service.

Remediation

Vendor Workaround

No fixed release is available. Apply the patch. For deployments that cannot apply the patch, use the PreFork or Fork server type instead of Thread.


OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch to Net::Server::Thread 2.018, which corrects the thread creation logic and detachment handling.
  • If the patch cannot be applied, reconfigure the server to use a PreFork or Fork server type instead of Thread to enforce the configured connection limits.
  • Enforce stricter resource limits or monitoring on the server process, such as limiting the maximum number of threads or memory usage, to reduce the impact of any remaining resource exhaustion attempt.

Generated by OpenCVE AI on November 30, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails. The accept loop waits while threads->list() exceeds max_servers, but each handler thread is detached as soon as it is created, and threads->list() does not count detached threads. The count stays near zero, so the limit never applies. When thread creation fails, the loop calls detach on an undefined value and dies. A remote client that holds connections open makes the server clone a Perl interpreter for each one until memory or thread limits are reached, and the server process then exits.
Title Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails
Weaknesses CWE-770
References

Subscriptions

No data.

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 29, 2026, 11:29 PM
Reserved
Nov 7, 2026, 11:59 AM
Status
Received
Published
Nov 30, 2026, 12:17 AM
Modified
Nov 30, 2026, 12:17 AM