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.

High
CVSS
7.8
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0019
8th percentile

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

ProductFixed inFixReleased
Linux
haveged · Debian 12.15 (bookworm) 1.9.14-1+deb12u1 DEBIAN-CVE-2026-41054 May 27, 2026
haveged · Debian 13.5 (trixie) 1.9.19-12+deb13u1 DEBIAN-CVE-2026-41054 May 27, 2026
haveged · Debian 14 1.9.21-1 DEBIAN-CVE-2026-41054 May 27, 2026
haveged · Ubuntu 22.04.1 LTS (jammy) 1.9.14-1ubuntu1+esm1~22.04.1 haveged 1.9.14-1ubuntu1+esm1~22.04.1 May 20, 2026
haveged · Ubuntu 24.04.5 LTS (noble) 1.9.14-1ubuntu2+esm1~24.04.1 haveged 1.9.14-1ubuntu2+esm1~24.04.1 May 20, 2026
haveged · Ubuntu 25.10 (questing) 1.9.19-12+deb13u1build0.25.10.1 haveged 1.9.19-12+deb13u1build0.25.10.1 May 20, 2026
haveged · Ubuntu 26.04.1 LTS (resolute) 1.9.19-14ubuntu0.1 haveged 1.9.19-14ubuntu0.1 May 20, 2026
haveged · opensuse-leap 16.0 1.9.19-bp160.2.1 OPENSUSE-SU-2026:21958-1 Sep 24, 2026
libhavege2 · Ubuntu 22.04.1 LTS (jammy) 1.9.14-1ubuntu1+esm1~22.04.1 libhavege2 1.9.14-1ubuntu1+esm1~22.04.1 May 20, 2026
libhavege2 · Ubuntu 24.04.5 LTS (noble) 1.9.14-1ubuntu2+esm1~24.04.1 libhavege2 1.9.14-1ubuntu2+esm1~24.04.1 May 20, 2026
libhavege2 · Ubuntu 25.10 (questing) 1.9.19-12+deb13u1build0.25.10.1 libhavege2 1.9.19-12+deb13u1build0.25.10.1 May 20, 2026
libhavege2 · Ubuntu 26.04.1 LTS (resolute) 1.9.19-14ubuntu0.1 libhavege2 1.9.19-14ubuntu0.1 May 20, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.