CVE-2026-41054
Missing 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
Missing 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.
- Record
CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-305
- Updated
- 2026-11-02
EUVDEUVD-2026-31076
7.8
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.
- Record
EUVD-2026-31076- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c5g3-m8p9-m3gh
7.8
In `src/havegecmd.c`, the `socket_handler` function performs a credential check on the abstract...
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.
- Record
GHSA-c5g3-m8p9-m3gh- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-305
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-305
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-41054
7.8
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.
- Record
ALPINE-CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2026-41054
7.8
- Record
BELL-CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2026-41054
7.8
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.
- Record
DEBIAN-CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-41054
7.8
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.
- Record
UBUNTU-CVE-2026-41054- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-87113 No score
CVE-2026-41054 affecting package haveged for versions less than 1.9.22-1
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.
- Record
AZL-87113- Updated
- 2026-11-02
OSVMGASA-2026-0275 No score
Updated haveged package fixes a security vulnerability
The updated package fixes a security vulnerability: Privilege escalation via command socket. (CVE-2026-41054)
- Record
MGASA-2026-0275- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10833-1 No score
haveged-1.9.21-1.1 on GA media
These are all security issues fixed in the haveged-1.9.21-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10833-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21958-1 No score
Security update for haveged
This update for haveged fixes the following issues:
Changes in haveged:
- CVE-2026-41054: Fixed local privilege escalation via the haveged command socket (bsc#1264086).
- Record
openSUSE-SU-2026:21958-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:2008-1 No score
Security update for haveged
This update for haveged fixes the following issue
- CVE-2026-41054: missing exit out of permission check could lead to root exploit (bsc#1264086).
Changes for haveged:
- Improvements on the linux kernel random subsystem have made move forward to socket communication within private network
- Fix 'stop' of service, the daemon in foreground actually see daemon(7) for the rationale. Only 'simple' (default) and the help of udev, as starting services while starved of entropy
- Add ppc64le support
- update to 1.8
- Correct additional run-time test aligment problems on mips.
- haveged 1.7a
- Correct VPATH issues and modify check target to support parallel builds and changes in automake 1.13 test harness.
- Remove all sysvinit compatibility.
- fix powerpc detection
- Current version does support ARM, remove the ExcludeArch need network and can use PrivateNetwork=yes
- Add online tests based on AIS-31
- Fix install target, move to bin and eliminate script if not daemon, now use sysv and systemd templates
- use -F with no arguments in haveged.service
- build with -fpie
- Use Service type 'simple' in systemd unit
- fix build on ia64, s390, s390x
- fix ppc64 build present in old versions have been fixed in different ways.
- run spec cleaner
- Link with full RELRO (-Wl,-z,relro,-z,now)
- add systemd support
- Drop as much capabilitites as possible using libcap-ng
- I meant Enhances not Supplements
- Implement hack to start by default only in VMs
- use O_CLOEXEC on fds
- add proper Requires(pre)
- add a SUSE standard init script
- Record
SUSE-SU-2026:2008-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:2009-1 No score
Security update for haveged
This update for haveged fixes the following issue
- CVE-2026-41054: missing exit out of permission check could lead to root exploit (bsc#1264086).
Changes for haveged:
- Improvements on the linux kernel random subsystem have made move forward to socket communication within private network
- Fix 'stop' of service, the daemon in foreground actually see daemon(7) for the rationale. Only 'simple' (default) and the help of udev, as starting services while starved of entropy
- Add ppc64le support
- update to 1.8
- Correct additional run-time test aligment problems on mips.
- haveged 1.7a
- Correct VPATH issues and modify check target to support parallel builds and changes in automake 1.13 test harness.
- Remove all sysvinit compatibility.
- fix powerpc detection
- Current version does support ARM, remove the ExcludeArch need network and can use PrivateNetwork=yes
- Add online tests based on AIS-31
- Fix install target, move to bin and eliminate script if not daemon, now use sysv and systemd templates
- use -F with no arguments in haveged.service
- build with -fpie
- Use Service type 'simple' in systemd unit
- fix build on ia64, s390, s390x
- fix ppc64 build present in old versions have been fixed in different ways.
- run spec cleaner
- Link with full RELRO (-Wl,-z,relro,-z,now)
- add systemd support
- Drop as much capabilitites as possible using libcap-ng
- I meant Enhances not Supplements
- Implement hack to start by default only in VMs
- use O_CLOEXEC on fds
- add proper Requires(pre)
- add a SUSE standard init script
- Record
SUSE-SU-2026:2009-1- Updated
- 2026-11-02
OSVUSN-8358-1 No score
haveged vulnerability
It was discovered that haveged incorrectly handled credential checks on its control socket. A local attacker could possibly use this issue to execute privileged commands.
- Record
USN-8358-1- Updated
- 2026-11-02
Affected products
- suse container suse/sle-micro-rancher/5.3:latest
- suse container suse/sle-micro-rancher/5.4:latest
- suse container suse/sle-micro/5.5:latest
- 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
Show 22 moreShow less
- suse image sles15-sp4-sap-hardened-gce
- suse linux enterprise desktop 15 sp7
- suse linux enterprise high performance computing 15 sp4-espos
- suse linux enterprise high performance computing 15 sp4-ltss
- suse linux enterprise high performance computing 15 sp5-espos
- suse linux enterprise high performance computing 15 sp5-ltss
- suse linux enterprise high performance computing 15 sp7
- suse linux enterprise micro 5.3
- suse linux enterprise micro 5.4
- suse linux enterprise micro 5.5
- suse linux enterprise module for basesystem 15 sp7
- suse linux enterprise server 15 sp4-ltss
- suse linux enterprise server 15 sp5-ltss
- suse linux enterprise server 15 sp6-ltss
- suse linux enterprise server 15 sp7
- suse linux enterprise server for sap applications 15 sp4
- suse linux enterprise server for sap applications 15 sp5
- suse linux enterprise server for sap applications 15 sp6
- suse linux enterprise server for sap applications 15 sp7
- suse manager proxy lts 4.3
- suse manager retail branch server lts 4.3
- suse manager server lts 4.3
Affected packages
| Package | Affected | Fixed |
|---|---|---|
havegedAlpine:v3.20 |
before 1.9.21-r0 | 1.9.21-r0 |
havegedAlpine:v3.21 |
before 1.9.21-r0 | 1.9.21-r0 |
havegedAlpine:v3.22 |
before 1.9.21-r0 | 1.9.21-r0 |
havegedAlpine:v3.23 |
before 1.9.21-r0 | 1.9.21-r0 |
havegedAlpine:v3.24 |
before 1.9.21-r0 | 1.9.21-r0 |
havegedAzure Linux:3 |
before 1.9.22-1 | 1.9.22-1 |
havegedAlpaquita:23 |
1.9.18-r0 up to 1.9.21-r0 | 1.9.21-r0 |
havegedAlpaquita:25 |
1.9.19-r0 up to 1.9.21-r0 | 1.9.21-r0 |
havegedAlpaquita:stream |
1.9.18-r0 up to 1.9.21-r0 | 1.9.21-r0 |
havegedDebian:12 |
before 1.9.14-1+deb12u1, plus listed versions 1.9.14-1 |
1.9.14-1+deb12u1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
havegedDebian:13 |
before 1.9.19-12+deb13u1, plus listed versions 1.9.19-12 |
1.9.19-12+deb13u1 |
havegedDebian:14 |
before 1.9.21-1, plus listed versions 1.9.19-121.9.19-131.9.19-141.9.19-151.9.20-1 |
1.9.21-1 |
havegedMageia:10 |
before 1.9.21-2.mga10 | 1.9.21-2.mga10 |
havegedMageia:9 |
before 1.9.21-2.mga9 | 1.9.21-2.mga9 |
havegedUbuntu:Pro:22.04:LTS |
before 1.9.14-1ubuntu1+esm1~22.04.1, plus listed versions 1.9.14-1ubuntu1 |
1.9.14-1ubuntu1+esm1~22.04.1 |
havegedUbuntu:Pro:24.04:LTS |
before 1.9.14-1ubuntu2+esm1~24.04.1, plus listed versions 1.9.14-1ubuntu11.9.14-1ubuntu2 |
1.9.14-1ubuntu2+esm1~24.04.1 |
havegedUbuntu:25.10 |
before 1.9.19-12+deb13u1build0.25.10.1, plus listed versions 1.9.19-11ubuntu11.9.19-12 |
1.9.19-12+deb13u1build0.25.10.1 |
havegedUbuntu:26.04:LTS |
before 1.9.19-14ubuntu0.1, plus listed versions 1.9.19-121.9.19-131.9.19-14 |
1.9.19-14ubuntu0.1 |
havegedopenSUSE:Tumbleweed |
before 1.9.21-1.1 | 1.9.21-1.1 |
havegedopenSUSE:Leap 16.0 |
before 1.9.19-bp160.2.1 | 1.9.19-bp160.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-41054 is a high vulnerability (CVSS 7.8) in Suse Container Suse/sle-micro-rancher/5.3:latest, published May 19, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.18%, the 8th percentile. Fixed in haveged 1.9.21-r0.
References
bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054
openwall.com/lists/oss-security/2026/05/19/3
openwall.com/lists/oss-security/2026/05/19/4
openwall.com/lists/oss-security/2026/05/19/5
openwall.com/lists/oss-security/2026/05/20/1
openwall.com/lists/oss-security/2026/05/21/17
Show 17 moreShow less
openwall.com/lists/oss-security/2026/05/22/1
lists.debian.org/debian-lts-announce/2026/06/msg00005.html
nvd.nist.gov/vuln/detail/CVE-2026-41054
github.com/advisories/GHSA-c5g3-m8p9-m3gh
security.alpinelinux.org/vuln/CVE-2026-41054
docs.bell-sw.com/security/cves/CVE-2026-41054
security-tracker.debian.org/tracker/CVE-2026-41054
advisories.mageia.org/MGASA-2026-0275.html
bugs.mageia.org/show_bug.cgi?id=35550
suse.com/support/update/announcement/2026/suse-su-20262008-1
bugzilla.suse.com/1264086
suse.com/security/cve/CVE-2026-41054
suse.com/support/update/announcement/2026/suse-su-20262009-1
ubuntu.com/security/CVE-2026-41054
cve.org/CVERecord?id=CVE-2026-41054
bugzilla.suse.com/show_bug.cgi?id=1264086
ubuntu.com/security/notices/USN-8358-1