PT-2026-44114 · Pam Usb · Pam Usb
Mcdope
·
Published
2026-05-27
·
Updated
2026-05-28
·
CVE-2026-47269
CVSS v3.1
7.4
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
pam usb versions prior to 0.9.0
Description
The
deny remote feature incorrectly classifies IPv4-mapped IPv6 remote connections as local sessions. This occurs because the system checks the ut addr v6 field of utmpx using a guard if (utent->ut addr v6[0] != 0), which only validates the first 32-bit word of the 128-bit address field. IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) store the IPv4 address in ut addr v6[3] while ut addr v6[0] remains 0. On systems where the SSH daemon listens on the IPv6 wildcard (::) with AddressFamily any, such as common Ubuntu and Debian configurations, incoming IPv4 connections are recorded as IPv4-mapped IPv6 addresses. Consequently, the remote-detection block is skipped, and the session is treated as local, allowing the deny remote=true setting to be bypassed. An attacker with physical access to a registered USB device can authenticate over SSH as if they were at a local terminal.Recommendations
Update to version 0.9.0.
Fix
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pam Usb