pam_usb: Authentication bypass in deny_remote feature (CVE-2026-64668)
The pam_usb authentication module version 0.8.0 through 0.9.2 fails to correctly parse link-local IPv6 addresses with zone indices, leading to an authentication bypass in the deny_remote feature.
CVE search metadata
CVE search record: CVE-2026-64668. Severity: high. CVSS: 7.4. KEV: no. Product: pam_usb (< 0.9.3). Brief: pam_usb: Authentication bypass in deny_remote feature (CVE-2026-64668). Brief link: https://feed.craftedsignal.io/briefs/2026-11-pam-usb-authentication-bypass-cve-2026-64668/
Triage facts
Revision 1- Applicability
- pam_usb (< 0.9.3)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 11, 13:58 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
A logical flaw exists in the 'deny_remote' feature of pam_usb versions 0.8.0 to 0.9.2. The module checks for active remote tmux sessions by executing /usr/bin/w -i. On multi-homed Linux systems, this command appends a zone index to link-local IPv6 addresses (e.g., fe80::1%eth0). The regex used in pusb_tmux_has_remote_clients() expects whitespace immediately after the IP address and fails to account for the suffix. Consequently, the function erroneously concludes no remote clients are active, bypassing intended access restrictions. This is patched in version 0.9.3.
Impact
Successful exploitation allows for unauthorized authentication on systems configured to use pam_usb with the 'deny_remote' feature enabled, specifically when the environment utilizes multi-homed network interfaces and IPv6 link-local addresses.
Recommendation
- Upgrade the pam_usb authentication module to version 0.9.3 or later on all affected Linux systems.
- Audit PAM configurations to determine if
deny_remoteis active for pam_usb. - Inventory Linux systems utilizing pam_usb for hardware-based authentication.
Immediate actions
Upgrade pam_usb to version 0.9.3 on all Linux systems
Threat Hunt
Identify systems where pam_usb is configured with deny_remote
Data: PAM configuration files (/etc/pam.d/*)
Mitigations
Upgrade to pam_usb 0.9.3
CVE-2026-64668