CVE-2026-48066

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

State
Published
Severity
5.7 Medium
Published
May 27, 2026
Updated
May 28, 2026
Reserved
May 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.7 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HGitHub_M

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-476 NULL Pointer Dereference

Affected Products

ProductVersions
pam_usbmcdope
  • < 0.9.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.