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

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianhavegedsid1.9.27-1fixed
Debianhavegedforky1.9.27-1fixed
Debianhavegedtrixie1.9.19-12+deb13u1fixed
Debianhavegedtrixie-security1.9.19-12+deb13u1fixed
Debianhavegedbookworm1.9.14-1+deb12u1fixed
Debianhavegedbookworm-security1.9.14-1+deb12u1fixed
CpehavegedNot reported1.9.14-1ubuntu2+esm1~24.04.1fixed
Cpelibhavege-devNot reported1.9.14-1ubuntu2+esm1~24.04.1fixed
Cpelibhavege2Not reported1.9.14-1ubuntu2+esm1~24.04.1fixed
CpehavegedNot reported1.9.14-1+deb12u1fixed
Alpinehaveged3.201.9.21-r0fixed
Alpinehaveged3.211.9.21-r0fixed
Alpinehaveged3.221.9.21-r0fixed
Alpinehaveged3.231.9.21-r0fixed
Alpinehaveged3.241.9.21-r0fixed
Opensusehavegedleap 16.01.9.19-bp160.2.1fixed
Ubuntuhavegedpro1.9.14-1ubuntu1vulnerable
Ubuntuhavegedpro1.9.14-1ubuntu2vulnerable
Ubuntuhavegedpro1.9.14-1ubuntu2+esm1~24.04.1fixed
Ubuntuhaveged25.101.9.19-11ubuntu1vulnerable
Ubuntuhaveged25.101.9.19-12vulnerable
Ubuntuhaveged25.101.9.19-12+deb13u1build0.25.10.1fixed
Ubuntuhaveged26.041.9.19-12vulnerable
Ubuntuhaveged26.041.9.19-13vulnerable
Ubuntuhaveged26.041.9.19-14vulnerable
Ubuntuhaveged26.041.9.19-14ubuntu0.1fixed
Ubuntuhavegedpro1.9.14-1ubuntu1vulnerable
Ubuntuhavegedpro1.9.14-1ubuntu2vulnerable
Ubuntuhavegedpro1.9.14-1ubuntu2+esm1~24.04.1fixed
Ubuntuhaveged25.101.9.19-11ubuntu1vulnerable
Ubuntuhaveged25.101.9.19-12vulnerable
Ubuntuhaveged25.101.9.19-12+deb13u1build0.25.10.1fixed
Ubuntuhaveged26.041.9.19-12vulnerable
Ubuntuhaveged26.041.9.19-13vulnerable
Ubuntuhaveged26.041.9.19-14vulnerable
Ubuntuhaveged26.041.9.19-14ubuntu0.1fixed
Opensusehavegedtumbleweed1.9.21-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhavegedsourcesid1.9.21-1not yet assignedNot reported[1137096]
Debianhavegedsourceforky1.9.21-1not yet assignedNot reported[1137096]
Debianhavegedsourcetrixie1.9.19-12+deb13u1not yet assignedNot reported[1137096]
Debianhavegedsourcebookworm1.9.14-1+deb12u1not yet assignedNot reported[1137096]
CpehavegedcpeNot reported1.9.14-1ubuntu2+esm1~24.04.1Not reportedNot reportedNot reported
Cpelibhavege-devcpeNot reported1.9.14-1ubuntu2+esm1~24.04.1Not reportedNot reportedNot reported
Cpelibhavege2cpeNot reported1.9.14-1ubuntu2+esm1~24.04.1Not reportedNot reportedNot reported
CpehavegedcpeNot reported1.9.14-1+deb12u1Not reportedNot reportedNot reported
Alpinehavegedapk3.201.9.21-r0Not reportedALPINE-CVE-2026-41054Not reported
Alpinehavegedapk3.211.9.21-r0Not reportedALPINE-CVE-2026-41054Not reported
Alpinehavegedapk3.221.9.21-r0Not reportedALPINE-CVE-2026-41054Not reported
Alpinehavegedapk3.231.9.21-r0Not reportedALPINE-CVE-2026-41054Not reported
Alpinehavegedapk3.241.9.21-r0Not reportedALPINE-CVE-2026-41054Not reported
Opensusehavegedrpmleap 16.01.9.19-bp160.2.1Not reportedOPENSUSE-SU-2026:21958-1Not reported
Ubuntuhavegeddebpro1.9.14-1ubuntu2+esm1~24.04.1Not reportedUSN-8358-1Not reported
Ubuntuhavegeddeb25.101.9.19-12+deb13u1build0.25.10.1Not reportedUSN-8358-1Not reported
Ubuntuhavegeddeb26.041.9.19-14ubuntu0.1Not reportedUSN-8358-1Not reported
Ubuntuhavegeddebpro1.9.14-1ubuntu2+esm1~24.04.1Not reportedUBUNTU-CVE-2026-41054Not reported
Ubuntuhavegeddeb25.101.9.19-12+deb13u1build0.25.10.1Not reportedUBUNTU-CVE-2026-41054Not reported
Ubuntuhavegeddeb26.041.9.19-14ubuntu0.1Not reportedUBUNTU-CVE-2026-41054Not reported
Opensusehavegedrpmtumbleweed1.9.21-1.1Not reportedOPENSUSE-SU-2026:10833-1Not reported

[Debian bug #1137096]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [haveged-devel]Unknown

    Source package: [haveged]

    Details (1)
    • 1.9.21-1.3 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.21-1.1

      Version impact unknown

      nvd · haveged · opensuse · tumbleweed

  • [libhavege2]Unknown

    Source package: [haveged]

    Details (1)
    • 1.9.21-1.3 · x86_64 · tumbleweed

      Unknown · Fixed: 1.9.21-1.1

      Version impact unknown

      nvd · haveged · opensuse · tumbleweed

  • [haveged]Fixed

    Source package: [haveged]

    Details (1)
    • 1.9.21-1.3 · x86_64 · tumbleweed

      Fixed · Fixed: 1.9.21-1.1

      nvd · haveged · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [haveged]Fixed
    Details (4)
    • 1.9.14-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

  • [libhavege2]Fixed

    Source package: [haveged]

    Details (4)
    • 1.9.14-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

  • Source package: [haveged]

    Details (4)
    • 1.9.14-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

    • 1.9.14-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.9.14-1+deb12u1

      nvd · haveged · debian · bookworm; nvd · haveged · debian · 12

[Debian 13 (Trixie)]

  • [haveged]Fixed
    Details (4)
    • 1.9.19-12+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

  • [libhavege2]Fixed

    Source package: [haveged]

    Details (4)
    • 1.9.19-12+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

  • Source package: [haveged]

    Details (4)
    • 1.9.19-12+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

    • 1.9.19-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.9.19-12+deb13u1

      nvd · haveged · debian · 13

Observed:

References