CVE-2026-64667
pam_usb heap out-of-bounds read in display server tty lookup
A local attacker with low privileges can crash authentication or leak limited memory contents.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-64667 divulgada · CVSS 4.4 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
pam_usb, a Linux hardware authentication tool that uses removable media, has a heap out-of-bounds read flaw that a local attacker with low privileges can reach without any user action. The flaw can read past the end of a memory buffer, which can crash the host authentication process and may leak limited information.
Descripción original del registro (GitHub_M)
pam_usb provides hardware authentication for Linux using removable media. Prior to version 0.9.3, src/local.c (pusb_get_tty_from_display_server) allocates a 4096-byte cmdline buffer, reads up to 4096 bytes from /proc//cmdline, then replaces every NUL separator with a space. When read(2) returns exactly 4096 bytes for any process the function inspects, the buffer ends without a terminator and the subsequent strstr() calls scan past the allocation boundary. The function is invoked during normal PAM authentication when DISPLAY is set, so the read fires for every process at auth time. Consequences are bounded: strstr output is a Boolean substring match (limited info-disclosure surface) but a hostile heap layout can produce a SIGSEGV that terminates the host PAM process. This issue has been patched in version 0.9.3.
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-gc6f-5hpq-ghxhhttps://github.com/mcdope/pam_usb/issues/411https://github.com/mcdope/pam_usb/pull/426https://github.com/mcdope/pam_usb/commit/d0a2e716241304cdb069adfaf54d2ede629d57fahttps://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.
