CVE-2025-14104Util-linux: util-linux: heap buffer overread in setpwnam() when processing 256-byte…
A flaw was found in util-linux. This vulnerability allows a heap buffer overread when processing 256-byte usernames, specifically within the `setpwnam()` function, affecting SUID (Set User ID) login-utils utilities writing to the password database.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | util-linux | Fix pending | UBUNTU-CVE-2025-14104 | |
| Ubuntu 18.04 | util-linux | Fix pending | UBUNTU-CVE-2025-14104 | |
| Ubuntu 16.04 | util-linux | Fix pending | UBUNTU-CVE-2025-14104 | |
| Ubuntu 14.04 | util-linux | Fix pending | UBUNTU-CVE-2025-14104 | |
| Debian 14 | util-linux | Fixed | 2.41.3-1 | DEBIAN-CVE-2025-14104 |
| Debian 13 | util-linux | Fixed | 2.41.3-1 | DEBIAN-CVE-2025-14104 |
| Debian 12 | util-linux | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-14104 | |
| Red Hat Enterprise Linux 10 | libblkid | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libblkid-devel | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libfdisk | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libfdisk-devel | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libmount | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libmount-devel | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libsmartcols | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libsmartcols-devel | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libuuid | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | libuuid-devel | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | python3-libmount | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | util-linux | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | util-linux-core | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 10 | uuidd | Fixed | 0:2.40.2-15.el10_1 | RHSA-2026:1696 |
| Red Hat Enterprise Linux 9 | libblkid | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libblkid-devel | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libfdisk | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libfdisk-devel | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libmount | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libmount-devel | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libsmartcols | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libsmartcols-devel | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libuuid | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | libuuid-devel | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | python3-libmount | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | util-linux | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | util-linux-core | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | util-linux-user | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 9 | uuidd | Fixed | 0:2.37.4-21.el9_7 | RHSA-2026:1913 |
| Red Hat Enterprise Linux 8 | libblkid | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libblkid-devel | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libfdisk | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libfdisk-devel | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libmount | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libmount-devel | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libsmartcols | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libsmartcols-devel | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libuuid | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | libuuid-devel | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | python3-libmount | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | util-linux | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | util-linux-user | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 8 | uuidd | Fixed | 0:2.32.1-48.el8_10 | RHSA-2026:1852 |
| Red Hat Enterprise Linux 7 | libblkid | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libblkid-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libmount | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libmount-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libuuid | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libuuid-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | util-linux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | uuidd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libblkid | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libblkid-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libuuid | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | libuuid-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | util-linux-ng | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | uuidd | Will not fix Will not fix | ||
| AlmaLinux 10 | libblkid | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libblkid-devel | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libfdisk | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libfdisk-devel | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libmount | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libmount-devel | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libsmartcols | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libsmartcols-devel | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libuuid | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | libuuid-devel | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | python3-libmount | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | util-linux | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | util-linux-core | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 10 | uuidd | Fixed | 2.40.2-15.el10_1 | ALSA-2026:1696 |
| AlmaLinux 9 | libblkid | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libblkid-devel | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libfdisk | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libfdisk-devel | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libmount | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libmount-devel | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libsmartcols | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libsmartcols-devel | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libuuid | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | libuuid-devel | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | python3-libmount | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | util-linux | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | util-linux-core | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | util-linux-user | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 9 | uuidd | Fixed | 2.37.4-21.el9_7 | ALSA-2026:1913 |
| AlmaLinux 8 | libblkid | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libblkid-devel | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libfdisk | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libfdisk-devel | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libmount | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libmount-devel | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libsmartcols | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libsmartcols-devel | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libuuid | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | libuuid-devel | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | python3-libmount | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | util-linux | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | util-linux-user | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| AlmaLinux 8 | uuidd | Fixed | 2.32.1-48.el8_10 | ALSA-2026:1852 |
| Rocky Linux 10 | util-linux | Fixed | 0:2.40.2-15.el10_1 | RLSA-2026:1696 |
| Rocky Linux 9 | util-linux | Fixed | 0:2.37.4-21.el9 | RLSA-2026:1913 |
| Rocky Linux 8 | util-linux | Fixed | 0:2.32.1-48.el8_10 | RLSA-2026:1852 |
| Alpine Linux 3.23 | util-linux | Fixed | 2.41.4-r0 | ALPINE-CVE-2025-14104 |
| Alpine Linux 3.22 | util-linux | Fixed | 2.41.6-r0 | ALPINE-CVE-2025-14104 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- util-linux: affected: before 2.41.3; fixed in
2.41.3 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Cert Manager support for Red Hat OpenShift release 1.18
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Ceph Storage 9
- Red Hat Hardened Images
- Red Hat Insights proxy 1.5
- Red Hat Update Infrastructure 5
- Red Hat Enterprise Linux 6
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:1696 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:1852 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:1913 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:2485 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:2563 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:2737 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:1696
- https://access.redhat.com/errata/RHSA-2026:1852
- https://access.redhat.com/errata/RHSA-2026:1913
- https://access.redhat.com/errata/RHSA-2026:2485
- https://access.redhat.com/errata/RHSA-2026:2563
- https://access.redhat.com/errata/RHSA-2026:2737
- https://access.redhat.com/errata/RHSA-2026:2800
- https://access.redhat.com/errata/RHSA-2026:3406
- https://access.redhat.com/errata/RHSA-2026:4943
- https://access.redhat.com/errata/RHSA-2026:7180
- https://access.redhat.com/errata/RHSA-2026:82347
- https://access.redhat.com/errata/RHSA-2026:82354
- https://access.redhat.com/errata/RHSA-2026:82372
- https://access.redhat.com/errata/RHSA-2026:82857
- https://access.redhat.com/security/cve/CVE-2025-14104
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.