jirka-h haveged prior 1.9.21 src/havegecmd.c socket_handler authentication bypass
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in jirka-h haveged. This affects the function socket_handler of the file src/havegecmd.c. Performing a manipulation results in an unknown weakness.
This vulnerability is cataloged as CVE-2026-41054. There is no exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in jirka-h haveged. It has been classified as critical. This affects the function socket_handler of the file src/havegecmd.c. CWE is classifying the issue as CWE-305. The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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`.
It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is uniquely identified as CVE-2026-41054. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 315451 (Linux Distros Unpatched Vulnerability : CVE-2026-41054), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.9.21 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (315451) and EUVD (EUVD-2026-31076). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
License
Website
- Product: https://github.com/jirka-h/haveged/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.8
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Authentication bypassCWE: CWE-305 / CWE-287
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 315451
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-41054
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: haveged 1.9.21
Patch: github.com
Timeline
05/20/2026 Advisory disclosed05/20/2026 VulDB entry created
05/23/2026 VulDB entry last update
Sources
Product: github.comAdvisory: bugzilla.redhat.com
Status: Confirmed
CVE: CVE-2026-41054 (🔒)
GCVE (CVE): GCVE-0-2026-41054
GCVE (VulDB): GCVE-100-364839
EUVD: 🔒
Entry
Created: 05/20/2026 10:15Updated: 05/23/2026 22:05
Changes: 05/20/2026 10:15 (53), 05/20/2026 13:38 (2), 05/22/2026 07:16 (1), 05/23/2026 22:05 (14)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.