Bug 2480051 (CVE-2026-41054) - CVE-2026-41054 haveged: privilege escalation via command socket
Summary: CVE-2026-41054 haveged: privilege escalation via command socket
Keywords:
Status: MODIFIED
Alias: CVE-2026-41054
Product: Fedora
Classification: Fedora
Component: haveged
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Hladky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-20 00:37 UTC by Jiri Hladky
Modified: 2026-05-20 01:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Hladky 2026-05-20 00:37:10 UTC
A privilege escalation vulnerability was found in haveged.
                                                                                                                                                                                                                                           
The socket_handler() function in src/havegecmd.c checks the connecting
peer's uid via SO_PEERCRED and sends a NAK response to non-root callers.
However, after sending the NAK, execution continued into the command    
switch instead of returning. This allowed unprivileged local users to                                                                                                                                                                    
send commands (MAGIC_CHROOT, MAGIC_CLOSE) to the root-running daemon 
via the abstract UNIX socket.                                                                                                                                                                                                            
                                                                                                                                                          
Affected: all versions with command socket support (1.9.14+)
                                                                                                                                                                                                                             
Upstream fix: https://github.com/jirka-h/haveged/releases/tag/v1.9.21
Fix commit: https://github.com/jirka-h/haveged/commit/3870de0                                                                                                                                                                            
SUSE bug: https://bugzilla.suse.com/show_bug.cgi?id=1264086  
                                                                                                                                                                                                                                   
Fixed in: haveged-1.9.21-1 (rawhide, f44, f43, f42, epel9, epel10)
Fixed in: haveged-1.9.14-2 (epel8, backported patch)

Comment 1 Fedora Update System 2026-05-20 00:58:45 UTC
FEDORA-EPEL-2026-56fb074420 (haveged-1.9.14-2.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-56fb074420

Comment 2 Fedora Update System 2026-05-20 00:59:51 UTC
FEDORA-EPEL-2026-efe6be3dfa (haveged-1.9.21-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-efe6be3dfa

Comment 3 Fedora Update System 2026-05-20 01:00:40 UTC
FEDORA-EPEL-2026-b3a94630f0 (haveged-1.9.21-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b3a94630f0

Comment 4 Fedora Update System 2026-05-20 01:02:19 UTC
FEDORA-EPEL-2026-ca77194ac0 (haveged-1.9.21-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ca77194ac0

Comment 5 Fedora Update System 2026-05-20 01:03:08 UTC
FEDORA-2026-7fcffd5c31 (haveged-1.9.21-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7fcffd5c31

Comment 6 Fedora Update System 2026-05-20 01:03:52 UTC
FEDORA-2026-12643837bd (haveged-1.9.21-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-12643837bd

Comment 7 Fedora Update System 2026-05-20 01:06:13 UTC
FEDORA-2026-43e2722e8f (haveged-1.9.21-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-43e2722e8f


Note You need to log in before you can comment on or make changes to this bug.