{"id":"UBUNTU-CVE-2026-41054","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`.","modified":"2026-06-01T19:00:23.790437706Z","published":"2026-05-20T10:16:00Z","related":["USN-8358-1"],"upstream":["CVE-2026-41054"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41054"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41054"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1264086"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/19/3"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/19/4"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/19/5"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/20/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8358-1"}],"affected":[{"package":{"name":"haveged","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/haveged?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.14-1ubuntu1+esm1~22.04.1"}]}],"versions":["1.9.14-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"haveged","binary_version":"1.9.14-1ubuntu1+esm1~22.04.1"},{"binary_version":"1.9.14-1ubuntu1+esm1~22.04.1","binary_name":"libhavege2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"}},{"package":{"name":"haveged","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/haveged?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.14-1ubuntu2+esm1~24.04.1"}]}],"versions":["1.9.14-1ubuntu1","1.9.14-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.14-1ubuntu2+esm1~24.04.1","binary_name":"haveged"},{"binary_name":"libhavege2","binary_version":"1.9.14-1ubuntu2+esm1~24.04.1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"}},{"package":{"name":"haveged","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/haveged?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.19-12+deb13u1build0.25.10.1"}]}],"versions":["1.9.19-11ubuntu1","1.9.19-12"],"ecosystem_specific":{"binaries":[{"binary_name":"haveged","binary_version":"1.9.19-12+deb13u1build0.25.10.1"},{"binary_version":"1.9.19-12+deb13u1build0.25.10.1","binary_name":"libhavege2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"}},{"package":{"name":"haveged","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/haveged?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.19-14ubuntu0.1"}]}],"versions":["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_version":"1.9.19-14ubuntu0.1","binary_name":"libhavege2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41054.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}