UBUNTU-CVE-2026-41054

Source
https://ubuntu.com/security/CVE-2026-41054
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-41054
Upstream
  • CVE-2026-41054
Downstream
Related
Published
2026-05-20T10:16:00Z
Modified
2026-06-01T19:00:23Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:22.04:LTS / haveged

Package

Name
haveged
Purl
pkg:deb/ubuntu/haveged?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.14-1ubuntu1+esm1~22.04.1

Affected versions

1.*
1.9.14-1ubuntu1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "haveged",
            "binary_version": "1.9.14-1ubuntu1+esm1~22.04.1"
        },
        {
            "binary_name": "libhavege2",
            "binary_version": "1.9.14-1ubuntu1+esm1~22.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"

Ubuntu:Pro:24.04:LTS / haveged

Package

Name
haveged
Purl
pkg:deb/ubuntu/haveged?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.14-1ubuntu2+esm1~24.04.1

Affected versions

1.*
1.9.14-1ubuntu1
1.9.14-1ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "haveged",
            "binary_version": "1.9.14-1ubuntu2+esm1~24.04.1"
        },
        {
            "binary_name": "libhavege2",
            "binary_version": "1.9.14-1ubuntu2+esm1~24.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"

Ubuntu:25.10 / haveged

Package

Name
haveged
Purl
pkg:deb/ubuntu/haveged?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.19-12+deb13u1build0.25.10.1

Affected versions

1.*
1.9.19-11ubuntu1
1.9.19-12

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "haveged",
            "binary_version": "1.9.19-12+deb13u1build0.25.10.1"
        },
        {
            "binary_name": "libhavege2",
            "binary_version": "1.9.19-12+deb13u1build0.25.10.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"

Ubuntu:26.04:LTS / haveged

Package

Name
haveged
Purl
pkg:deb/ubuntu/haveged?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.19-14ubuntu0.1

Affected versions

1.*
1.9.19-12
1.9.19-13
1.9.19-14

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "haveged",
            "binary_version": "1.9.19-14ubuntu0.1"
        },
        {
            "binary_name": "libhavege2",
            "binary_version": "1.9.19-14ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"