CVEfocus › CVE database › CVE-2026-3184

CVE-2026-3184Util-linux: util-linux: access control bypass due to improper hostname canonicalization

CVSS 3.7 LowEPSS 0.7% (higher than 46% of CVEs)Published 2026-04-03Updated 2026-11-25Assigner: redhat

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.

CWE-289

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

2Fixed
3Fix pending
1Will not fix
53Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10util-linuxFix pendingUBUNTU-CVE-2026-3184
Ubuntu 26.04util-linuxFixed2.41.3-3ubuntu2.2UBUNTU-CVE-2026-3184
Ubuntu 25.10util-linuxWill 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.04util-linuxNot affected
vulnerable_code_not_present
Ubuntu 22.04util-linuxNot affected
vulnerable_code_not_present
Debian 14util-linuxFixed2.42-1DEBIAN-CVE-2026-3184
Debian 13util-linuxFix pendingDEBIAN-CVE-2026-3184
Debian 12util-linuxFix pendingDEBIAN-CVE-2026-3184
Red Hat Enterprise Linux 10libblkidNot affected
Red Hat Enterprise Linux 10libblkid-develNot affected
Red Hat Enterprise Linux 10libfdiskNot affected
Red Hat Enterprise Linux 10libfdisk-develNot affected
Red Hat Enterprise Linux 10libmountNot affected
Red Hat Enterprise Linux 10libmount-develNot affected
Red Hat Enterprise Linux 10libsmartcolsNot affected
Red Hat Enterprise Linux 10libsmartcols-develNot affected
Red Hat Enterprise Linux 10libuuidNot affected
Red Hat Enterprise Linux 10libuuid-develNot affected
Red Hat Enterprise Linux 10python3-libmountNot affected
Red Hat Enterprise Linux 10util-linuxNot affected
Red Hat Enterprise Linux 10util-linux-coreNot affected
Red Hat Enterprise Linux 10uuiddNot affected
Red Hat Enterprise Linux 9libblkidNot affected
Red Hat Enterprise Linux 9libblkid-develNot affected
Red Hat Enterprise Linux 9libfdiskNot affected
Red Hat Enterprise Linux 9libfdisk-develNot affected
Red Hat Enterprise Linux 9libmountNot affected
Red Hat Enterprise Linux 9libmount-develNot affected
Red Hat Enterprise Linux 9libsmartcolsNot affected
Red Hat Enterprise Linux 9libsmartcols-develNot affected
Red Hat Enterprise Linux 9libuuidNot affected
Red Hat Enterprise Linux 9libuuid-develNot affected
Red Hat Enterprise Linux 9python3-libmountNot affected
Red Hat Enterprise Linux 9util-linuxNot affected
Red Hat Enterprise Linux 9util-linux-coreNot affected
Red Hat Enterprise Linux 9util-linux-userNot affected
Red Hat Enterprise Linux 9uuiddNot affected
Red Hat Enterprise Linux 8libblkidNot affected
Red Hat Enterprise Linux 8libblkid-develNot affected
Red Hat Enterprise Linux 8libfdiskNot affected
Red Hat Enterprise Linux 8libfdisk-develNot affected
Red Hat Enterprise Linux 8libmountNot affected
Red Hat Enterprise Linux 8libmount-develNot affected
Red Hat Enterprise Linux 8libsmartcolsNot affected
Red Hat Enterprise Linux 8libsmartcols-develNot affected
Red Hat Enterprise Linux 8libuuidNot affected
Red Hat Enterprise Linux 8libuuid-develNot affected
Red Hat Enterprise Linux 8python3-libmountNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 8util-linux-userNot affected
Red Hat Enterprise Linux 8uuiddNot affected
Red Hat Enterprise Linux 7libblkidNot affected
Red Hat Enterprise Linux 7libblkid-develNot affected
Red Hat Enterprise Linux 7libmountNot affected
Red Hat Enterprise Linux 7libmount-develNot affected
Red Hat Enterprise Linux 7libuuidNot affected
Red Hat Enterprise Linux 7libuuid-develNot affected
Red Hat Enterprise Linux 7util-linuxNot affected
Red Hat Enterprise Linux 7uuiddNot 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.

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:

References

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.