CVE-2026-41054
Published:May 20, 2026
Updated:June 11, 2026
In "src/havegecmd.c", the "socket_handler" function performs a credential check on the abstract UNIX socket ("\0/sys/entropy/haveged"). However, while it detects if the connecting user is not root ("cred.uid != 0") and prepares a negative acknowledgement ("ASCII_NAK"), it fails to stop execution. The code proceeds to the "switch" statement, allowing any local unprivileged user to execute privileged commands such as "MAGIC_CHROOT".
Affected Packages
https://github.com/jirka-h/haveged.git (GITHUB):
Affected version(s) >=v1.9.5-alpha <v1.9.21Fix Suggestion:
Update to version v1.9.21Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Authentication Bypass by Primary Weakness