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

CVE-2026-41054 is fixed in 2 products on 1 platform, first by haveged 1.9.14-1ubuntu1+esm1~22.04.1, released May 20, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-41054
- Priority: High
- CVSS: 7.8 (Important)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 20, 2026
- Weakness: Authentication Bypass by Primary Weakness
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41054

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | haveged Debian 12.15 (bookworm) | 1.9.14-1+deb12u1 | [DEBIAN-CVE-2026-41054](https://patchblox.com/security/data/fix/linux/debian-cve-2026-41054.md) | May 27, 2026 |
| Linux | haveged Debian 13.5 (trixie) | 1.9.19-12+deb13u1 | [DEBIAN-CVE-2026-41054](https://patchblox.com/security/data/fix/linux/debian-cve-2026-41054.md) | May 27, 2026 |
| Linux | haveged Debian 14 | 1.9.21-1 | [DEBIAN-CVE-2026-41054](https://patchblox.com/security/data/fix/linux/debian-cve-2026-41054.md) | May 27, 2026 |
| Linux | haveged Ubuntu 22.04.1 LTS (jammy) | 1.9.14-1ubuntu1+esm1~22.04.1 | [haveged 1.9.14-1ubuntu1+esm1~22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-haveged-1.9.14-1ubuntu1-esm1-22.04.1.md) | May 20, 2026 |
| Linux | haveged Ubuntu 24.04.5 LTS (noble) | 1.9.14-1ubuntu2+esm1~24.04.1 | [haveged 1.9.14-1ubuntu2+esm1~24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-haveged-1.9.14-1ubuntu2-esm1-24.04.1.md) | May 20, 2026 |
| Linux | haveged Ubuntu 25.10 (questing) | 1.9.19-12+deb13u1build0.25.10.1 | [haveged 1.9.19-12+deb13u1build0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-haveged-1.9.19-12-deb13u1build0.25.10.1.md) | May 20, 2026 |
| Linux | haveged Ubuntu 26.04.1 LTS (resolute) | 1.9.19-14ubuntu0.1 | [haveged 1.9.19-14ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-haveged-1.9.19-14ubuntu0.1.md) | May 20, 2026 |
| Linux | haveged opensuse-leap 16.0 | 1.9.19-bp160.2.1 | [OPENSUSE-SU-2026:21958-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21958-1.md) | Sep 24, 2026 |
| Linux | libhavege2 Ubuntu 22.04.1 LTS (jammy) | 1.9.14-1ubuntu1+esm1~22.04.1 | [libhavege2 1.9.14-1ubuntu1+esm1~22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libhavege2-1.9.14-1ubuntu1-esm1-22.04.1.md) | May 20, 2026 |
| Linux | libhavege2 Ubuntu 24.04.5 LTS (noble) | 1.9.14-1ubuntu2+esm1~24.04.1 | [libhavege2 1.9.14-1ubuntu2+esm1~24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libhavege2-1.9.14-1ubuntu2-esm1-24.04.1.md) | May 20, 2026 |
| Linux | libhavege2 Ubuntu 25.10 (questing) | 1.9.19-12+deb13u1build0.25.10.1 | [libhavege2 1.9.19-12+deb13u1build0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libhavege2-1.9.19-12-deb13u1build0.25.10.1.md) | May 20, 2026 |
| Linux | libhavege2 Ubuntu 26.04.1 LTS (resolute) | 1.9.19-14ubuntu0.1 | [libhavege2 1.9.19-14ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libhavege2-1.9.19-14ubuntu0.1.md) | May 20, 2026 |

---

Data as of 2026-11-10T01:44:33Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
