CVE-2026-41054
Missing exit out of permission check in haveged could lead to root exploit
Reported by suse · Published May 20, 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`.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| haveged | Alpine | 1.9.21-r0 |
| haveged | SUSE | 1.9.14-150600.11.6.1, 1.9.14-150400.3.11.1 |
| libhavege2 | SUSE | 1.9.14-150600.11.6.1, 1.9.14-150400.3.11.1 |
| haveged-devel | SUSE | 1.9.14-150600.11.6.1, 1.9.14-150400.3.11.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | Container suse/sle-micro-rancher/5.3:latest | ? |
| SUSE | Container suse/sle-micro-rancher/5.3:latest | ? |
| SUSE | Container suse/sle-micro-rancher/5.4:latest | ? |
| SUSE | Container suse/sle-micro-rancher/5.4:latest | ? |
| SUSE | Container suse/sle-micro/5.5:latest | ? |
| SUSE | Container suse/sle-micro/5.5:latest | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-Azure | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-Azure | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-EC2 | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-EC2 | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-GCE | ? |
| SUSE | Image SLES15-SP4-SAP-BYOS-GCE | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened-BYOS | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened-BYOS | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened-BYOS-Azure | ? |
| SUSE | Image SLES15-SP4-SAP-Hardened-BYOS-Azure | ? |
…and 153 more
Timeline
- May 19, 2026 PoC Published (6 in total, the first dated here)
- May 20, 2026 EPSS Score (27 in total, the first dated here)
- May 20, 2026 CVE Published
- May 21, 2026 Coalition ESS Score
- May 21, 2026 Security Advisory
- Jun 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-41054
vulnetix vdb fixes CVE-2026-41054
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41054/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- http://www.openwall.com/lists/oss-security/2026/05/19/4 url
- http://www.openwall.com/lists/oss-security/2026/05/21/17 url
- http://www.openwall.com/lists/oss-security/2026/05/19/5 url
- http://www.openwall.com/lists/oss-security/2026/05/20/1 url
- http://www.openwall.com/lists/oss-security/2026/05/22/1 url
- https://lists.debian.org/debian-lts-announce/2026/06/msg00005.html advisory
- http://www.openwall.com/lists/oss-security/2026/05/19/3 url