CVE-2026-64668
pam_usb authorization bypass in deny_remote IPv6 check
A remote attacker without logging in can bypass the removable-media authentication check.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-64668 divulgada · CVSS 7.4 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
pam_usb's deny_remote check can miss active remote tmux sessions whose link-local IPv6 addresses include a zone index (such as fe80::1%eth0), so it grants access when it should refuse it. An attacker can reach this remotely, without logging in, and bypass the removable-media authentication check.
Only affects pam_usb 0.8.0 through 0.9.2 with deny_remote on multi-homed Linux systems, where w -i shows zone-indexed IPv6 addresses. Fixed in 0.9.3.
Descripción original del registro (GitHub_M)
pam_usb provides hardware authentication for Linux using removable media. From version 0.8.0 to before version 0.9.3, the deny_remote feature in pam_usb uses /usr/bin/w -i to detect whether the authenticating user has an active remote tmux session. In pusb_tmux_has_remote_clients() (src/tmux.c), the IPv6 detection pattern matched the address group and then immediately expected whitespace. On Linux systems with multi-homed network interfaces, w -i appends a zone index (scope identifier) to link-local IPv6 addresses — e.g. fe80::1%eth0. The %eth0 suffix appeared between the address and the next whitespace field, causing the regex match to fail even for an otherwise-matching remote session. The function returned "no remote clients" and granted access. This issue has been patched in version 0.9.3.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pam_usb |
Corregida | 0.9.3 | — | — |
0.9.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/mcdope/pam_usb/security/advisories/GHSA-7583-9cqv-j9rfhttps://github.com/mcdope/pam_usb/pull/423https://github.com/mcdope/pam_usb/commit/a62513f3da871d6576d751de3482eb80b9ac79f3https://github.com/mcdope/pam_usb/releases/tag/0.9.3Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
