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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-27T19:57:42.557Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-362, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.9.1

## References

- <https://github.com/mcdope/pam_usb/security/advisories/GHSA-qg76-57wq-mpv6>
- <https://github.com/mcdope/pam_usb/issues/350>
- <https://github.com/mcdope/pam_usb/issues/55>

## Sources

- CVE List: [CVE-2026-48066](https://www.cve.org/CVERecord?id=CVE-2026-48066), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-48066](https://nvd.nist.gov/vuln/detail/CVE-2026-48066), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-48066 · Whole record: https://cve.day/CVE-2026-48066.json · Rebuilt by cve.day 2026-11-25T22:59:22.677Z
