---
id: CVE-2026-3184
title: A flaw was found in util-linux
summary: >-
  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 …
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-289
vendor: kernel
product: util-linux
affected:
  - util-linux
  - hardened_images
published: '2026-04-03'
updated: '2026-07-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-3184'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:7180'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-3184'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2442570'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00621
epssPercentile: 0.47467
ingestedAt: '2026-07-21T19:53:39.782Z'
---

## Overview

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

- `util-linux`
- `hardened_images`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
