CVEfocus › CVE database › CVE-2026-41054

CVE-2026-41054Missing exit out of permission check in haveged could lead to root exploit

CVSS 7.8 HighEPSS 0.2% (higher than 3% of CVEs)Published 2026-05-20Updated 2026-06-05Assigner: suse

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`.

CWE-305

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

10Fixed
2Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04havegedFixed1.9.19-14ubuntu0.1UBUNTU-CVE-2026-41054
Ubuntu 25.10havegedFixed1.9.19-12+deb13u1build0.25.10.1UBUNTU-CVE-2026-41054
Ubuntu 24.04havegedFix pending1.9.14-1ubuntu2+esm1~24.04.1 (Ubuntu Pro)UBUNTU-CVE-2026-41054
Ubuntu 22.04havegedFix pending1.9.14-1ubuntu1+esm1~22.04.1 (Ubuntu Pro)UBUNTU-CVE-2026-41054
Debian 14havegedFixed1.9.21-1DEBIAN-CVE-2026-41054
Debian 13havegedFixed1.9.19-12+deb13u1DEBIAN-CVE-2026-41054
Debian 12havegedFixed1.9.14-1+deb12u1DEBIAN-CVE-2026-41054
Alpine Linux 3.24havegedFixed1.9.21-r0ALPINE-CVE-2026-41054
Alpine Linux 3.23havegedFixed1.9.21-r0ALPINE-CVE-2026-41054
Alpine Linux 3.22havegedFixed1.9.21-r0ALPINE-CVE-2026-41054
Alpine Linux 3.21havegedFixed1.9.21-r0ALPINE-CVE-2026-41054
Alpine Linux 3.20havegedFixed1.9.21-r0ALPINE-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.

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.