p PatchFirst

CVE-2026-3184

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 3.7 · Low · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • red hat hardened images

    Versions
    • ≥ 2.42-7.1.hum1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat openshift container platform 4

    No fix published

  • util-linux Debian:12

    Versions
    • 2.38.1-5
    • 2.38.1-5+deb12u1
    • 2.38.1-5+deb12u2
    • 2.38.1-5+deb12u3
    • 2.38.1-5+loong64
    • 2.38.1-6
    • 2.39.1-1
    • 2.39.1-2
    • 2.39.1-3
    • 2.39.1-4
    • 2.39.2-1
    • 2.39.2-2
    • 2.39.2-2.1
    • 2.39.2-2.2
    • 2.39.2-3
    • 2.39.2-4
    • 2.39.2-5
    • 2.39.2-6
    • 2.39.3-1
    • 2.39.3-10
    • 2.39.3-11
    • 2.39.3-2
    • 2.39.3-3
    • 2.39.3-4
    • 2.39.3-5
    • 2.39.3-6
    • 2.39.3-6.1
    • 2.39.3-6.1~exp1
    • 2.39.3-7
    • 2.39.3-8
    • 2.39.3-9
    • 2.40-1
    • 2.40-2
    • 2.40-3
    • 2.40-4
    • 2.40-5
    • 2.40-6
    • 2.40-7
    • 2.40-8
    • 2.40.1-1
    • 2.40.1-2
    • 2.40.1-3
    • 2.40.1-4
    • 2.40.1-4+hurd.1
    • 2.40.1-6
    • 2.40.1-7
    • 2.40.1-8
    • 2.40.1-8.1
    • 2.40.1-9
    • 2.40.2-1
    • 2.40.2-10
    • 2.40.2-11
    • 2.40.2-12
    • 2.40.2-12+hurd.1
    • 2.40.2-13
    • 2.40.2-14
    • 2.40.2-2
    • 2.40.2-3
    • 2.40.2-4
    • 2.40.2-5
    • 2.40.2-6
    • 2.40.2-7
    • 2.40.2-8
    • 2.40.2-9
    • 2.40.3-1
    • 2.40.4-1
    • 2.40.4-2
    • 2.40.4-3
    • 2.40.4-4
    • 2.40.4-5
    • 2.40~rc2-1
    • 2.40~rc2-2
    • 2.40~rc2-3
    • 2.40~rc2-4
    • 2.40~rc2-5
    • 2.40~rc2-6
    • 2.40~rc2-7
    • 2.40~rc2-8
    • 2.41-1
    • 2.41-2
    • 2.41-3
    • 2.41-4
    • 2.41-5
    • 2.41.1-1
    • 2.41.1-2
    • 2.41.1-3
    • 2.41.1-4
    • 2.41.2-1
    • 2.41.2-2
    • 2.41.2-3
    • 2.41.2-4
    • 2.41.3-1
    • 2.41.3-2
    • 2.41.3-3
    • 2.41.3-4
    • 2.41~rc1-1
    • 2.41~rc1-2
    • 2.41~rc2-1
    • 2.42-1
    • 2.42-2
    • 2.42-3
    • 2.42-4
    • 2.42-5
    • 2.42-6
    • 2.42.1-1
    • 2.42.1-2
    • 2.42.1-3
    • 2.42.1-4
    • 2.42.1-5
    • 2.42.1-6
    • 2.42.2-1
    • 2.42.2-2
    • 2.42.2-3
    • 2.42.2-4
    • 2.42.3-1
    • 2.42.4-1
    • 2.42~rc1-1
    • 2.42~rc1-2
    • 2.42~rc1-3
    • 2.42~rc2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • util-linux Debian:13

    Versions
    • 2.41-5
    • 2.41.1-1
    • 2.41.1-2
    • 2.41.1-3
    • 2.41.1-4
    • 2.41.2-1
    • 2.41.2-2
    • 2.41.2-3
    • 2.41.2-4
    • 2.41.3-1
    • 2.41.3-2
    • 2.41.3-3
    • 2.41.3-4
    • 2.41.5-0+deb13u1
    • 2.42-1
    • 2.42-2
    • 2.42-3
    • 2.42-4
    • 2.42-5
    • 2.42-6
    • 2.42.1-1
    • 2.42.1-2
    • 2.42.1-3
    • 2.42.1-4
    • 2.42.1-5
    • 2.42.1-6
    • 2.42.2-1
    • 2.42.2-2
    • 2.42.2-3
    • 2.42.2-4
    • 2.42.3-1
    • 2.42.4-1
    • 2.42~rc1-1
    • 2.42~rc1-2
    • 2.42~rc1-3
    • 2.42~rc2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • util-linux Debian:14

    Versions
    • 2.41-5
    • 2.41.1-1
    • 2.41.1-2
    • 2.41.1-3
    • 2.41.1-4
    • 2.41.2-1
    • 2.41.2-2
    • 2.41.2-3
    • 2.41.2-4
    • 2.41.3-1
    • 2.41.3-2
    • 2.41.3-3
    • 2.41.3-4
    • 2.42~rc1-1
    • 2.42~rc1-2
    • 2.42~rc1-3
    • 2.42~rc2-1
    Affected ranges
    • ECOSYSTEM: < 2.42-1

    Update to 2.42-1

  • util-linux Ubuntu:25.10

    Versions
    • 2.40.2-14ubuntu1
    • 2.41-4ubuntu2
    • 2.41-4ubuntu3
    • 2.41-4ubuntu4
    • 2.41-4ubuntu4.1
    • 2.41-4ubuntu4.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • util-linux Ubuntu:26.10

    Versions
    • 2.41.3-3ubuntu2
    • 2.42.2-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • util-linux Ubuntu:26.04:LTS

    Versions
    • 2.41-4ubuntu4
    • 2.41.2-4ubuntu1
    • 2.41.2-4ubuntu2
    • 2.41.2-4ubuntu3
    • 2.41.3-3ubuntu1
    • 2.41.3-3ubuntu2
    Affected ranges
    • ECOSYSTEM: < 2.41.3-3ubuntu2.2

    Update to 2.41.3-3ubuntu2.2

Original sources

Check your server →