CVE-2026-124305
Received Received - Intake

Denial of Service in Net::Server::PreFork via Lock File

Vulnerability report for CVE-2026-124305, 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::PreFork versions through 2.018 for Perl let local users stop the server accepting connections by locking a lock_file that other users can read. With lock_file set, each PreFork and PreForkSimple child opens the file for writing with default permissions, mode 0666 less the umask, which is usually readable by other users. Outside Windows the children serialize accept with an exclusive flock on that file, and flock needs only a read-only handle. A local user who can open the file and hold the lock keeps every child from accepting connections for as long as they hold it. A server without lock_file uses a temporary lock file with mode 0600 and is not affected.

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-412 The product properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of control.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Net::Server::PreFork versions through 2.018 for Perl. It allows local users to stop the server from accepting connections by locking a lock_file that others can read. The server creates lock files with overly permissive permissions (0666 minus umask), making them readable by all local users. A local user can open the file, acquire an exclusive lock, and block child processes from accepting connections.

Detection Guidance

Check if Net::Server::PreFork versions through 2.018 are installed using: perl -MNet::Server::PreFork -e 'print $Net::Server::PreFork::VERSION'

Inspect lock files for overly permissive permissions (0666 minus umask) in the server's lock directory.

Monitor server logs for failed connection attempts or child process termination errors.

Impact Analysis

This vulnerability can lead to a denial of service where the server stops accepting new connections. An attacker with local access could exploit this to disrupt service availability. Servers without lock_file set are not affected as they use a temporary lock file with mode 0600.

Mitigation Strategies

Upgrade to a patched version of Net::Server::PreFork where lock files use mode 0600.

Apply the provided patch from Resource 1 to modify lock file permissions to 0600.

Restrict existing lock files to mode 0600 manually if upgrading is not possible.

Disable lock_file in server configuration if not required to avoid the issue entirely.

Chat Assistant

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