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
Summary
| CVE | CVE-2026-124305 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 00:17:59 UTC |
| Updated | 2026-11-30 00:17:59 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-412 | CWE-412 CWE-412 Unrestricted Externally Accessible Lock
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124305-r1.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | security.metacpan.org | |
| metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreForkSim... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreFork.pm | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Workarounds
CNA: No fixed release is available. Apply the patch. For deployments that cannot apply the patch, leave lock_file unset, or place it in a directory that other local users cannot access.
There are currently no legacy QID mappings associated with this CVE.