CVE-2026-124305: 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

Published Nov 29, 2026
·
Updated

Net::Server::PreFork versions through 2.018 for Perl let local users stop the server accepting connections by locking a lockfile that other users can read.

With lockfile 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 lockfile uses a temporary lock file with mode 0600 and is not affected.

Affected Software

1 affected component
cpan/net-server<=2.018

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Unset lock_file; servers without it use a temporary lock file with mode 0600 and are not affected.

    Net::Server::PreFork lock_file = unset

Event History

Nov 29, 2026
CVE Published
via MITRE·11:34 PM
Data Sourced
via MITRE·11:34 PM
DescriptionWeakness
Nov 30, 2026
Data Sourced
via NVD·12:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial of service?

The issue affects Net::Server::PreFork and PreForkSimple deployments that explicitly set lock_file and create it with permissions that allow another local user to read it. A deployment that does not set lock_file uses a temporary lock file with mode 0600 and is not affected.

2

What access does an attacker need?

An attacker needs local access to the system and the ability to open the configured lock file for reading. They can then hold an exclusive flock on that file, preventing all children from accepting connections.

3

Does this affect Windows systems?

The described accept serialization using an exclusive flock occurs outside Windows. The provided information does not identify Windows as affected.

4

What can be done if updating is not immediately possible?

Avoid configuring lock_file, so the server uses its temporary mode-0600 lock file instead. If lock_file must be used, restrict its permissions so untrusted local users cannot read and open it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203