CVEvulnerability
CVE-2026-41054
7.8 HIGH
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-05-20
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-305
Description
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`.
Related
Weakness · CWE (1)
- CWE-305 Authentication Bypass by Primary Weakness weakness
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054 bugzilla.suse.com
- http://www.openwall.com/lists/oss-security/2026/05/19/3 www.openwall.com
- http://www.openwall.com/lists/oss-security/2026/05/19/4 www.openwall.com
- http://www.openwall.com/lists/oss-security/2026/05/19/5 www.openwall.com
- http://www.openwall.com/lists/oss-security/2026/05/20/1 www.openwall.com
- http://www.openwall.com/lists/oss-security/2026/05/21/17 www.openwall.com
- http://www.openwall.com/lists/oss-security/2026/05/22/1 www.openwall.com
- https://lists.debian.org/debian-lts-announce/2026/06/msg00005.html lists.debian.org