CVE-2026-41054

Missing exit out of permission check in haveged could lead to root exploit

Published May 20, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4616-1 haveged security update
Debian DSA Debian DSA DSA-6292-1 haveged security update
Ubuntu USN Ubuntu USN USN-8358-1 haveged vulnerability
History
Type Values Removed Values Added
First Time appeared Novell
Novell suse Linux Enterprise For Sap Applications
Suse
Suse container Suse/sle-micro
Suse container Suse/sle-micro-rancher
Suse image Sles15-sp4-sap-byos
Suse image Sles15-sp4-sap-byos-azure
Suse image Sles15-sp4-sap-byos-ec2
Suse image Sles15-sp4-sap-byos-gce
Suse image Sles15-sp4-sap-hardened
Suse image Sles15-sp4-sap-hardened-byos
Suse image Sles15-sp4-sap-hardened-byos-azure
Suse image Sles15-sp4-sap-hardened-byos-ec2
Suse image Sles15-sp4-sap-hardened-byos-gce
Suse image Sles15-sp4-sap-hardened-gce
Suse linux Enterprise High Performance Computing
Suse linux Enterprise Micro
Suse manager Proxy
Suse manager Retail Branch Server
Suse manager Server
Suse suse Linux Enterprise Desktop
Suse suse Linux Enterprise Module For Basesystem
Suse suse Linux Enterprise Server
Vendors & Products Novell
Novell suse Linux Enterprise For Sap Applications
Suse
Suse container Suse/sle-micro
Suse container Suse/sle-micro-rancher
Suse image Sles15-sp4-sap-byos
Suse image Sles15-sp4-sap-byos-azure
Suse image Sles15-sp4-sap-byos-ec2
Suse image Sles15-sp4-sap-byos-gce
Suse image Sles15-sp4-sap-hardened
Suse image Sles15-sp4-sap-hardened-byos
Suse image Sles15-sp4-sap-hardened-byos-azure
Suse image Sles15-sp4-sap-hardened-byos-ec2
Suse image Sles15-sp4-sap-hardened-byos-gce
Suse image Sles15-sp4-sap-hardened-gce
Suse linux Enterprise High Performance Computing
Suse linux Enterprise Micro
Suse manager Proxy
Suse manager Retail Branch Server
Suse manager Server
Suse suse Linux Enterprise Desktop
Suse suse Linux Enterprise Module For Basesystem
Suse suse Linux Enterprise Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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`.
Title Missing exit out of permission check in haveged could lead to root exploit
Weaknesses CWE-305
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}