# CVE-2026-41054: Missing exit out of permission check in haveged could lead to root exploit

- Severity: High 7.8 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-20T08:56:14.466Z
- Modified: 2026-07-24T10:10:00.197Z
- Weaknesses: CWE-305
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: suse

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

(As written by CVE List.)

## Affected

- haveged: from ? before 1.9.14-150400.3.11.1; from ? before 1.9.14-150600.11.6.1
- libhavege2: from ? before 1.9.14-150400.3.11.1; from ? before 1.9.14-150600.11.6.1
- haveged-devel: from ? before 1.9.14-150600.11.6.1; from ? before 1.9.14-150400.3.11.1

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054>
- <http://www.openwall.com/lists/oss-security/2026/05/19/3>
- <http://www.openwall.com/lists/oss-security/2026/05/19/4>
- <http://www.openwall.com/lists/oss-security/2026/05/19/5>
- <http://www.openwall.com/lists/oss-security/2026/05/20/1>
- <http://www.openwall.com/lists/oss-security/2026/05/21/17>
- <http://www.openwall.com/lists/oss-security/2026/05/22/1>
- <https://lists.debian.org/debian-lts-announce/2026/06/msg00005.html>

## Sources

- CVE List: [CVE-2026-41054](https://www.cve.org/CVERecord?id=CVE-2026-41054), CVE Terms of Use, modified 2026-06-05
- NVD: [CVE-2026-41054](https://nvd.nist.gov/vuln/detail/CVE-2026-41054), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-41054 · Whole record: https://cve.day/CVE-2026-41054.json · Rebuilt by cve.day 2026-11-25T22:59:22.032Z
