Skip to content
OpenAdvisories
Medium · 5.7 CVE-2026-48066 EUVD-2026-32648

pam_usb: Thread-unsafe static pointer in log.c causes data race under concurrent PAM authentication

Published May 27, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/log.c contains a process-wide static pointer that is written on every PAM invocation with the address of a stack-local variable. This violates the PAM re-entrancy requirement and creates a data race when the PAM stack is invoked concurrently from multiple threads. This vulnerability is fixed in 0.9.1.

Affected products

VendorProductAffectedFixed
mcdope pam_usb < 0.9.1 —

References