CVE 5.7 MEDIUM

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

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

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.

Basic Information

ID CVE-2026-48066
Source GitHub_M
Published May 27, 2026 at 19:57
Modified May 27, 2026 at 19:59

Affected Product

Vendor mcdope
Product pam_usb
Version < 0.9.1
Affected Versions mcdope pam_usb < 0.9.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.