Bug 2585918 (CVE-2026-124305)

Summary: CVE-2026-124305 perl-net-server: Net::Server: Denial of Service via insecure lock file permissions
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Net::Server. When configured with a custom lock file, the server creates the file with overly permissive permissions that allow read access to other local users. A local attacker can exploit this issue by acquiring and holding a lock on the file, preventing the server from accepting incoming connections and resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-29 23:41:47 UTC
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.