CVE Catalog

CVE-2026-41054

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

In the `socket_handler` function in `src/havegecmd.c` of haveged, the credential check on the abstract UNIX socket (`\0/sys/entropy/haveged`) is incomplete. Although it detects that the connecting user is not root (`cred.uid != 0`) and prepares a negative acknowledgement (`ASCII_NAK`), the code **fails to stop execution** and proceeds to the `switch` statement, allowing any local unprivileged user to execute privileged commands such as `MAGIC_CHROOT`.

Risk Assessment

A local unprivileged user can execute privileged operations such as chroot, potentially leading to privilege escalation and system integrity compromise.

Recommendation

Immediately update haveged to a version that fixes the credential check, or apply temporary firewall rules to block access to the UNIX socket for unprivileged users.

Related vulnerabilities

Original NVD description (English source)

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`.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS