# 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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-11-29T23:34:13.387Z
- Modified: 2026-11-30T00:17:59.243Z
- Weaknesses: CWE-412
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Net-Server: up to 2.018

## References

- <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreFork.pm> (technical-description)
- <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreForkSimple.pm> (technical-description)
- <https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124305-r1.patch> (patch)

## Sources

- CVE List: [CVE-2026-124305](https://www.cve.org/CVERecord?id=CVE-2026-124305), CVE Terms of Use, modified 2026-11-29
- NVD: [CVE-2026-124305](https://nvd.nist.gov/vuln/detail/CVE-2026-124305), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-124305 · Whole record: https://cve.day/CVE-2026-124305.json · Rebuilt by cve.day 2026-11-30T00:32:37.938Z
