Moderate Security Vulnerability in util-linux Package: Heap Buffer Overread in setpwnam()
Summary
ALSA-2026:1913: Moderate: util-linux security update. Affects libblkid versions < 2.37.4-21.el9_7. Fixed in 2.37.4-21.el9_7. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The util-linux package is a collection of essential low-level system utilities required for the proper functioning of a Linux system. It includes tools like fdisk for disk partitioning and the login program for user authentication. The package is critical for system management and operations, making its security paramount.
Vulnerability Detail
The vulnerability identified as CVE-2025-14104 is a heap buffer overread in the setpwnam() function when processing 256-byte usernames. This flaw can potentially lead to information disclosure, allowing attackers to read sensitive data from memory. The issue arises from improper handling of user input, which can be exploited if an attacker provides a specially crafted username.
How To Fix
Minimum fixed version
2.37.4-21.el9_7
This is the first release that contains the fix.
sudo dnf update libblkid
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, it is advisable to limit the use of usernames that exceed 256 bytes in length until the package can be updated. Additionally, monitoring logs for any unusual login attempts can help mitigate potential exploitation.
Conclusion
The util-linux package has a moderate security vulnerability that can lead to heap buffer overreads, posing risks of information disclosure. It is crucial to update to the latest patched version to mitigate these risks. Users are encouraged to monitor their systems and utilize tools like Vulert for ongoing vulnerability management.
See every vulnerability recorded for libblkid →
FAQ
CVE-2025-14104 is a security vulnerability in the util-linux package that allows for a heap buffer overread, potentially leading to information disclosure.
You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file like package-lock.json to monitor for open-source vulnerabilities.
The primary risk is information disclosure, where an attacker could read sensitive data from memory, potentially leading to further exploitation.
Yes, a patch is available in the updated version of the util-linux package (2.37.4-21.el9_7).
If immediate updates are not possible, consider implementing workarounds such as limiting username lengths and monitoring system logs for suspicious activity.
Related vulnerabilities
Recent vulnerabilities recorded for libblkid.