Description
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.
Affected products
kernel: util-linux; redhat: hardened images
References3
- access.redhat.com/errata/RHSA-2026:7180 Third Party Advisory
- access.redhat.com/security/cve/CVE-2026-3184 Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2442570 Issue TrackingThird Party Advisory
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 39 · as of 12 November 2026
- CWE
- CWE-289
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.