| Name | CVE-2026-3184 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1129313 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| util-linux (PTS) | bullseye (security), bullseye | 2.36.1-8+deb11u2 | vulnerable |
| bookworm | 2.38.1-5+deb12u3 | vulnerable | |
| bookworm (security) | 2.38.1-5+deb12u1 | vulnerable | |
| trixie | 2.41-5 | vulnerable | |
| forky | 2.41.3-4 | vulnerable | |
| sid | 2.42-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| util-linux | source | experimental | 2.42~rc1-1 | |||
| util-linux | source | (unstable) | (unfixed) | 1129313 |
[trixie] - util-linux <no-dsa> (Minor issue)
[bookworm] - util-linux <ignored> (login not build from src:util-linux; only taken over in 2.40.2-3)
[bullseye] - util-linux <ignored> (login not build from src:util-linux; only taken over in 2.40.2-3)
https://bugzilla.redhat.com/show_bug.cgi?id=2442570
Fixed by: https://github.com/util-linux/util-linux/commit/8b29aeb081e297e48c4c1ac53d88ae07e1331984 (v2.42-rc1)