
CVE catalog
CVE-2026-41054
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 (`c
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 25, 2026
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`.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | haveged | sid | 1.9.27-1 | fixed |
| Debian | haveged | forky | 1.9.27-1 | fixed |
| Debian | haveged | trixie | 1.9.19-12+deb13u1 | fixed |
| Debian | haveged | trixie-security | 1.9.19-12+deb13u1 | fixed |
| Debian | haveged | bookworm | 1.9.14-1+deb12u1 | fixed |
| Debian | haveged | bookworm-security | 1.9.14-1+deb12u1 | fixed |
| Cpe | haveged | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | fixed |
| Cpe | libhavege-dev | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | fixed |
| Cpe | libhavege2 | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | fixed |
| Cpe | haveged | Not reported | 1.9.14-1+deb12u1 | fixed |
| Alpine | haveged | 3.20 | 1.9.21-r0 | fixed |
| Alpine | haveged | 3.21 | 1.9.21-r0 | fixed |
| Alpine | haveged | 3.22 | 1.9.21-r0 | fixed |
| Alpine | haveged | 3.23 | 1.9.21-r0 | fixed |
| Alpine | haveged | 3.24 | 1.9.21-r0 | fixed |
| Opensuse | haveged | leap 16.0 | 1.9.19-bp160.2.1 | fixed |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu1 | vulnerable |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu2 | vulnerable |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu2+esm1~24.04.1 | fixed |
| Ubuntu | haveged | 25.10 | 1.9.19-11ubuntu1 | vulnerable |
| Ubuntu | haveged | 25.10 | 1.9.19-12 | vulnerable |
| Ubuntu | haveged | 25.10 | 1.9.19-12+deb13u1build0.25.10.1 | fixed |
| Ubuntu | haveged | 26.04 | 1.9.19-12 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-13 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-14 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-14ubuntu0.1 | fixed |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu1 | vulnerable |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu2 | vulnerable |
| Ubuntu | haveged | pro | 1.9.14-1ubuntu2+esm1~24.04.1 | fixed |
| Ubuntu | haveged | 25.10 | 1.9.19-11ubuntu1 | vulnerable |
| Ubuntu | haveged | 25.10 | 1.9.19-12 | vulnerable |
| Ubuntu | haveged | 25.10 | 1.9.19-12+deb13u1build0.25.10.1 | fixed |
| Ubuntu | haveged | 26.04 | 1.9.19-12 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-13 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-14 | vulnerable |
| Ubuntu | haveged | 26.04 | 1.9.19-14ubuntu0.1 | fixed |
| Opensuse | haveged | tumbleweed | 1.9.21-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | haveged | source | sid | 1.9.21-1 | not yet assigned | Not reported | [1137096] |
| Debian | haveged | source | forky | 1.9.21-1 | not yet assigned | Not reported | [1137096] |
| Debian | haveged | source | trixie | 1.9.19-12+deb13u1 | not yet assigned | Not reported | [1137096] |
| Debian | haveged | source | bookworm | 1.9.14-1+deb12u1 | not yet assigned | Not reported | [1137096] |
| Cpe | haveged | cpe | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | Not reported | Not reported | Not reported |
| Cpe | libhavege-dev | cpe | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | Not reported | Not reported | Not reported |
| Cpe | libhavege2 | cpe | Not reported | 1.9.14-1ubuntu2+esm1~24.04.1 | Not reported | Not reported | Not reported |
| Cpe | haveged | cpe | Not reported | 1.9.14-1+deb12u1 | Not reported | Not reported | Not reported |
| Alpine | haveged | apk | 3.20 | 1.9.21-r0 | Not reported | ALPINE-CVE-2026-41054 | Not reported |
| Alpine | haveged | apk | 3.21 | 1.9.21-r0 | Not reported | ALPINE-CVE-2026-41054 | Not reported |
| Alpine | haveged | apk | 3.22 | 1.9.21-r0 | Not reported | ALPINE-CVE-2026-41054 | Not reported |
| Alpine | haveged | apk | 3.23 | 1.9.21-r0 | Not reported | ALPINE-CVE-2026-41054 | Not reported |
| Alpine | haveged | apk | 3.24 | 1.9.21-r0 | Not reported | ALPINE-CVE-2026-41054 | Not reported |
| Opensuse | haveged | rpm | leap 16.0 | 1.9.19-bp160.2.1 | Not reported | OPENSUSE-SU-2026:21958-1 | Not reported |
| Ubuntu | haveged | deb | pro | 1.9.14-1ubuntu2+esm1~24.04.1 | Not reported | USN-8358-1 | Not reported |
| Ubuntu | haveged | deb | 25.10 | 1.9.19-12+deb13u1build0.25.10.1 | Not reported | USN-8358-1 | Not reported |
| Ubuntu | haveged | deb | 26.04 | 1.9.19-14ubuntu0.1 | Not reported | USN-8358-1 | Not reported |
| Ubuntu | haveged | deb | pro | 1.9.14-1ubuntu2+esm1~24.04.1 | Not reported | UBUNTU-CVE-2026-41054 | Not reported |
| Ubuntu | haveged | deb | 25.10 | 1.9.19-12+deb13u1build0.25.10.1 | Not reported | UBUNTU-CVE-2026-41054 | Not reported |
| Ubuntu | haveged | deb | 26.04 | 1.9.19-14ubuntu0.1 | Not reported | UBUNTU-CVE-2026-41054 | Not reported |
| Opensuse | haveged | rpm | tumbleweed | 1.9.21-1.1 | Not reported | OPENSUSE-SU-2026:10833-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [haveged-devel]Unknown
Source package: [haveged]
Details (1)
1.9.21-1.3· x86_64 · tumbleweedUnknown · Fixed:
1.9.21-1.1Version impact unknown
nvd · haveged · opensuse · tumbleweed
- [libhavege2]Unknown
Source package: [haveged]
Details (1)
1.9.21-1.3· x86_64 · tumbleweedUnknown · Fixed:
1.9.21-1.1Version impact unknown
nvd · haveged · opensuse · tumbleweed
- [haveged]Fixed
Source package: [haveged]
Details (1)
1.9.21-1.3· x86_64 · tumbleweedFixed · Fixed:
1.9.21-1.1nvd · haveged · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [haveged]Fixed
Details (4)
1.9.14-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
- [libhavege2]Fixed
Source package: [haveged]
Details (4)
1.9.14-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
- [libhavege-dev]Fixed
Source package: [haveged]
Details (4)
1.9.14-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
1.9.14-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.9.14-1+deb12u1nvd · haveged · debian · bookworm; nvd · haveged · debian · 12
[Debian 13 (Trixie)]
- [haveged]Fixed
Details (4)
1.9.19-12+deb13u1· amd64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
- [libhavege2]Fixed
Source package: [haveged]
Details (4)
1.9.19-12+deb13u1· amd64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
- [libhavege-dev]Fixed
Source package: [haveged]
Details (4)
1.9.19-12+deb13u1· amd64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixieFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· amd64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
1.9.19-12+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.9.19-12+deb13u1nvd · haveged · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21958-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41054]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-41054]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41054]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-41054]
- [https://osv.dev/vulnerability/USN-8358-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10833-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21958-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-41054]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41054.json]
- [https://ubuntu.com/security/notices/USN-8358-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]