CVE-2026-3184Util-linux: util-linux: access control bypass due to improper hostname canonicalization
A flaw was found in util-linux. Improper hostname canonicalization in the `login(1)` utility, when invoked with the `-h` option, can modify the supplied remote hostname before setting `PAM_RHOST`. A remote attacker could exploit this by providing a specially crafted hostname, potentially bypassing host-based Pluggable Authentication Modules (PAM) access control rules that rely on fully qualified domain names. This could lead to unauthorized access.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have 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.10 | util-linux | Fix pending | UBUNTU-CVE-2026-3184 | |
| Ubuntu 26.04 | util-linux | Fixed | 2.41.3-3ubuntu2.2 | UBUNTU-CVE-2026-3184 |
| Ubuntu 25.10 | util-linux | Will not fix Prior to 2.40.2-3, the login package was build from the shadow source package. After that version, so in questing and later, the login package is built from… | UBUNTU-CVE-2026-3184 | |
| Ubuntu 24.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Debian 14 | util-linux | Fixed | 2.42-1 | DEBIAN-CVE-2026-3184 |
| Debian 13 | util-linux | Fix pending | DEBIAN-CVE-2026-3184 | |
| Debian 12 | util-linux | Fix pending | DEBIAN-CVE-2026-3184 | |
| Red Hat Enterprise Linux 10 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 10 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libfdisk | Not affected | ||
| Red Hat Enterprise Linux 10 | libfdisk-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libmount | Not affected | ||
| Red Hat Enterprise Linux 10 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libsmartcols | Not affected | ||
| Red Hat Enterprise Linux 10 | libsmartcols-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 10 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-libmount | Not affected | ||
| Red Hat Enterprise Linux 10 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 10 | util-linux-core | Not affected | ||
| Red Hat Enterprise Linux 10 | uuidd | Not affected | ||
| Red Hat Enterprise Linux 9 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 9 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libfdisk | Not affected | ||
| Red Hat Enterprise Linux 9 | libfdisk-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libmount | Not affected | ||
| Red Hat Enterprise Linux 9 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmartcols | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmartcols-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 9 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libmount | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux-core | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux-user | Not affected | ||
| Red Hat Enterprise Linux 9 | uuidd | Not affected | ||
| Red Hat Enterprise Linux 8 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 8 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libfdisk | Not affected | ||
| Red Hat Enterprise Linux 8 | libfdisk-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libmount | Not affected | ||
| Red Hat Enterprise Linux 8 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmartcols | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmartcols-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 8 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-libmount | Not affected | ||
| Red Hat Enterprise Linux 8 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 8 | util-linux-user | Not affected | ||
| Red Hat Enterprise Linux 8 | uuidd | Not affected | ||
| Red Hat Enterprise Linux 7 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 7 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libmount | Not affected | ||
| Red Hat Enterprise Linux 7 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 7 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 7 | uuidd | Not affected |
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.42; fixed in
2.42 - Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
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:7180 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:7180
- https://access.redhat.com/security/cve/CVE-2026-3184
- https://bugzilla.redhat.com/show_bug.cgi?id=2442570
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.