Skip to main content
4 CVEs HIGH CVSS 7.4

pam_usb Remote Detection and Memory Flaws

2026-11-11

CVE-2026-64668 HIGH PATCH

The deny_remote safeguard in pam_usb fails open on link-local IPv6 sessions, causing a remote login to be classified as local and authentication to succeed even though the administrator configured pam_usb to reject remote sessions. Installations running versions 0.8.0 through 0.9.2 with deny_remote enabled on multi-homed hosts are affected; the trigger requires the authenticating session to arrive over a fe80::/10 address that /usr/bin/w -i renders with a zone index such as %eth0, which the IPv6 pattern in pusb_tmux_has_remote_clients() could not match, plus an active remote tmux session for that user. No public exploit identified at time of analysis; the flaw is fixed in pam_usb 0.9.3.

7.4
CVSS
0.4%
EPSS
CVE-2026-64669 HIGH PATCH

pam_usb versions 0.8.0 through 0.9.2 fail to recognize compressed-notation IPv6 addresses when evaluating the optional deny_remote tmux control, so an authenticated user who opens a remote tmux session from an address such as ::1, fe80::1 or 2001:db8::1 is treated as having no remote session at all and the module grants access. Exploitation requires the deny_remote feature to be explicitly enabled (it is not default-on), an affected build, IPv6 reachability to the host, and valid credentials for the account being authenticated - conditions that narrow real-world exposure well below the raw 7.4 base score. Upstream addressed the flaw in 0.9.3; no public exploit code was identified at time of analysis and the issue is not in CISA KEV.

7.4
CVSS
0.4%
EPSS
CVE-2026-64666 HIGH PATCH

pam_usb through 0.9.2 can be pushed past its explicit XRDP deny rule by a local user who simply unsets the XRDP_SESSION variable before invoking a setuid PAM host that loads pam_usb.so, because the check in pusb_local_login reads the variable with plain getenv(3) while neighbouring environment reads use secure_getenv(3). Exploitation is local and requires a low-privilege authenticated account able to control the host's environment (CVSS 3.1: AV:L/AC:L/PR:L/UI:N, 7.1 High), and the defeat is partial - the rmsvc, evdev, loginctl and utmp remote-detection paths may still flag the session, so a successful unset does not by itself guarantee authentication bypass. No public exploit code was identified at time of analysis and the issue is not in CISA KEV; publication priority is 'this_week' and vendor-released patch 0.9.3 is available.

7.1
CVSS
0.2%
EPSS
CVE-2026-64667 MEDIUM PATCH

Heap out-of-bounds read in pam_usb 0.9.2 and earlier, where the PAM helper's DISPLAY-driven TTY discovery routine reads /proc/<pid>/cmdline into a 4096-byte heap buffer without guaranteeing NUL termination, so strstr() can scan past the allocation. Affected are Linux hosts with pam_usb <= 0.9.2 configured in the PAM stack; the flawed path runs during normal local authentication whenever DISPLAY is set, meaning an authenticated local user (CVSS AV:L/PR:L) is the realistic trigger context. Impact is bounded: the strstr() results are Boolean substring matches, so information disclosure is limited, and the worst realistic outcome is a SIGSEGV that kills the host PAM process, with no code execution demonstrated; no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Vendor-released patch: 0.9.3.

4.4
CVSS
0.2%
EPSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy