{"api_version":"1","generated_at":"2026-11-30T01:20:05+00:00","cve":"CVE-2026-124305","urls":{"html":"https://cve.report/CVE-2026-124305","api":"https://cve.report/api/cve/CVE-2026-124305.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-124305","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-124305"},"summary":{"title":"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","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.\n\nWith 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.\n\nA 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 00:17:59","updated_at":"2026-11-30 00:17:59"},"problem_types":["CWE-412","CWE-412 CWE-412 Unrestricted Externally Accessible Lock"],"metrics":[],"references":[{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124305-r1.patch","name":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124305-r1.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreForkSimple.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreForkSimple.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreFork.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreFork.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124305","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124305","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Net::Server::PreFork"],"packageName":"Net-Server","packageURL":"pkg:cpan/Net-Server","programFiles":["lib/Net/Server/PreFork.pm","lib/Net/Server/PreForkSimple.pm"],"programRoutines":[{"name":"Net::Server::PreFork::run_child"},{"name":"Net::Server::PreForkSimple::run_child"},{"name":"Net::Server::PreForkSimple::accept"}],"repo":"https://github.com/rhandom/perl-net-server","versions":[{"lessThanOrEqual":"2.018","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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.\n\nWith 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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-412","description":"CWE-412 Unrestricted Externally Accessible Lock","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-29T23:34:13.387Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreFork.pm"},{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PreForkSimple.pm"},{"tags":["patch"],"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124305-r1.patch"}],"source":{"discovery":"UNKNOWN"},"title":"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","workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-124305","datePublished":"2026-11-29T23:34:13.387Z","dateReserved":"2026-11-07T12:01:12.035Z","dateUpdated":"2026-11-29T23:34:13.387Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 00:17:59","lastModifiedDate":"2026-11-30 00:17:59","problem_types":["CWE-412","CWE-412 CWE-412 Unrestricted Externally Accessible Lock"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"124305","Ordinal":"1","Title":"Net::Server::PreFork versions through 2.018 for Perl let local u","CVE":"CVE-2026-124305","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"124305","Ordinal":"1","NoteData":"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.\n\nWith 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.\n\nA 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.","Type":"Description","Title":"Net::Server::PreFork versions through 2.018 for Perl let local u"}]}}}