IT SBIT Services
Schneeberger
DEEN
CVE tracker

pam_usb: deny_remote bypass via compressed IPv6 addresses

CVE-2026-64669High 7.4

← All vulnerabilities

Summary

pam_usb is a PAM module that authenticates Linux users with removable media. In affected versions, the deny_remote check does not recognise IPv6 addresses in compressed notation (for example ::1, fe80::1 or 2001:db8::1) when detecting active remote tmux sessions. A remote tmux client connected from such an address is therefore not detected, and pam_usb does not deny authentication as configured. The attacker needs a remote tmux session of the targeted user and the ability to authenticate with the USB medium.

Affected

  • mcdope pam_usb from 0.8.0 to before 0.9.3
  • Note: VulDB lists 0.9.0 to 0.9.2 as affected; 0.8.x should be treated as affected until the vendor confirms otherwise.

Fixed in

  • Fixed in pam_usb 0.9.3

Workaround

Unknown.

Exploitation

  • No evidence of exploitation in the wild found.
  • Publicly disclosed.

Our recommendation

  • Update pam_usb to version 0.9.3 or later on all Linux systems where it is used.
  • Until patched, check whether pam_usb is enabled for network-reachable PAM services such as sshd and whether tmux is used for remote administration.
  • Disable pam_usb for services where it is not required.
  • Verify the installed version with your package manager after patching.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 06:23.

Original description (NVD)

pam_usb provides hardware authentication for Linux using removable media. From version 0.8.0 to before version 0.9.3, the deny_remote feature in pam_usb uses /usr/bin/w -i to detect whether the authenticating user has an active remote tmux session. In pusb_tmux_has_remote_clients() (src/tmux.c), the IPv6 detection regex required exactly four explicit colon-separated groups of 1-4 hex digits (e.g. 2001:0db8:85a3:0000). Any IPv6 address in compressed notation — including loopback (::1), link-local (fe80::1), and global unicast addresses (2001:db8::1) — did not match this pattern. As a result the remote-client check silently returned "no remote clients" even when a remote tmux client was connected from such an address. This issue has been patched in version 0.9.3.

NVD references (4)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.