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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-20 · Modified: 2026-06-05
- Aliases: ALPINE-CVE-2026-41054, MGASA-2026-0275, UBUNTU-CVE-2026-41054, USN-8358-1, DEBIAN-CVE-2026-41054, openSUSE-SU-2026:10833-1, openSUSE-SU-2026:21958-1, DLA-4616-1, DSA-6292-1
- Record: https://cvemate.com/vulnerability/CVE-2026-41054 · JSON: https://cvemate.com/vulnerability/CVE-2026-41054/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.185%, percentile 8.414%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 41)

- alpine haveged (Alpine Linux): \< 1.9.21-r0
- debian haveged (Debian): \< 1.9.21-1 \| \< 1.9.14-1+deb11u1 \| \< 1.9.14-1+deb12u1 \| \< 1.9.19-12+deb13u1
- ubuntu haveged (Ubuntu): \< 1.9.14-1ubuntu1+esm1~22.04.1 \| \< 1.9.14-1ubuntu2+esm1~24.04.1 \| \< 1.9.19-12+deb13u1build0.25.10.1 \| \< 1.9.19-14ubuntu0.1
- mageia haveged (Mageia): \< 1.9.21-2.mga10
- mageia haveged (Mageia): \< 1.9.21-2.mga9
- opensuse haveged&distro=openSUSE Leap 16.0 (openSUSE): \< 1.9.19-bp160.2.1
- opensuse haveged&distro=openSUSE Tumbleweed (openSUSE): \< 1.9.21-1.1
- suse container suse/sle-micro-rancher/5.3:latest: ≥ ?, \< 1.9.14-150400.3.11.1
- suse container suse/sle-micro-rancher/5.4:latest: ≥ ?, \< 1.9.14-150400.3.11.1
- suse container suse/sle-micro/5.5:latest: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-byos: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-byos-azure: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-byos-ec2: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-byos-gce: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened-byos: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened-byos-azure: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened-byos-ec2: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened-byos-gce: ≥ ?, \< 1.9.14-150400.3.11.1
- suse image sles15-sp4-sap-hardened-gce: ≥ ?, \< 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>
- <https://security.alpinelinux.org/vuln/CVE-2026-41054>
- <https://advisories.mageia.org/MGASA-2026-0275.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35550>
- <https://www.openwall.com/lists/oss-security/2026/05/19/3>
- <https://ubuntu.com/security/CVE-2026-41054>
- <https://www.cve.org/CVERecord?id=CVE-2026-41054>
- <https://bugzilla.suse.com/show_bug.cgi?id=1264086>
- <https://ubuntu.com/security/notices/USN-8358-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-41054>
- <https://www.suse.com/security/cve/CVE-2026-41054>
- <https://bugzilla.suse.com/1264086>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41054>

---

Data as of 2026-12-05T07:08:10.367Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
