5.7medium
pam_usb: Thread-unsafe static pointer in log.c causes data race under concurrent PAM authentication
- Severity
- 5.7medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| mcdope pam_usb | < 0.9.1 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. Antes de 0.9.1, src/log.c contiene un puntero estático a nivel de proceso que se escribe en cada invocación de PAM con la dirección de una variable local de pila. Esto viola el requisito de reentrada de PAM y crea una condición de carrera de datos cuando la pila de PAM se invoca concurrentemente desde múltiples hilos. Esta vulnerabilidad se corrige en 0.9.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48066 changed 2026-05-28 | CVE Terms of Use |
| NVD | CVE-2026-48066 changed 2026-10-26 | Public domain |