CVE-2026-41054Missing exit out of permission check in haveged could lead to root exploit
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`.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | haveged | Fixed | 1.9.19-14ubuntu0.1 | UBUNTU-CVE-2026-41054 |
| Ubuntu 25.10 | haveged | Fixed | 1.9.19-12+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-41054 |
| Ubuntu 24.04 | haveged | Fix pending | 1.9.14-1ubuntu2+esm1~24.04.1 (Ubuntu Pro) | UBUNTU-CVE-2026-41054 |
| Ubuntu 22.04 | haveged | Fix pending | 1.9.14-1ubuntu1+esm1~22.04.1 (Ubuntu Pro) | UBUNTU-CVE-2026-41054 |
| Debian 14 | haveged | Fixed | 1.9.21-1 | DEBIAN-CVE-2026-41054 |
| Debian 13 | haveged | Fixed | 1.9.19-12+deb13u1 | DEBIAN-CVE-2026-41054 |
| Debian 12 | haveged | Fixed | 1.9.14-1+deb12u1 | DEBIAN-CVE-2026-41054 |
| Alpine Linux 3.24 | haveged | Fixed | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine Linux 3.23 | haveged | Fixed | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine Linux 3.22 | haveged | Fixed | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine Linux 3.21 | haveged | Fixed | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine Linux 3.20 | haveged | Fixed | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
What the vendor says
As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SUSE Container suse/sle-micro-rancher/5.3:latest: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Container suse/sle-micro-rancher/5.4:latest: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Container suse/sle-micro/5.5:latest: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-BYOS: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-BYOS-Azure: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-BYOS-EC2: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-BYOS-GCE: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-Hardened: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-Hardened-BYOS: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-Hardened-BYOS-Azure: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-Hardened-BYOS-EC2: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1 - SUSE Image SLES15-SP4-SAP-Hardened-BYOS-GCE: affected: ? to before 1.9.14-150400.3.11.1; fixed in
1.9.14-150400.3.11.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.