CVE-2026-64666

high

Description

pam_usb provides hardware authentication for Linux using removable media. Prior to version 0.9.3, src/local.c reads XRDP_SESSION with plain getenv(3) at the head of pusb_local_login while every other env consumer in the same function uses secure_getenv(3). When pam_usb.so loads into a setuid PAM host, the calling user controls the environment passed in. Clearing XRDP_SESSION before invoking the host bypasses the explicit XRDP-deny rule. Other remote-detection signals (rmsvc, evdev, loginctl, utmp) may still catch the session, but the env-based detection alone is defeated. This issue has been patched in version 0.9.3.

References

https://github.com/mcdope/pam_usb/security/advisories/GHSA-ffx6-xjp6-x33g

https://github.com/mcdope/pam_usb/releases/tag/0.9.3

https://github.com/mcdope/pam_usb/pull/417

https://github.com/mcdope/pam_usb/issues/410

https://github.com/mcdope/pam_usb/commit/0b179ed679d6522c6a571c5a8ae9bdc7edbad31f

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-123131

Details

Source: Mitre, NVD

Published: 2026-11-11

Updated: 2026-11-13

Risk Information

CVSS v2

Base Score: 6.2

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:N

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Severity: High

EPSS

EPSS: 0.00182