1. Archivio CVE
  2. 2026
  3. CVE-2026-48984

CVE-2026-48984

4.7 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N 4.7 – Media

Descrizione

pam_usb provides hardware authentication for Linux using ordinary removable media. In versions 0.9.1 and below, the xfree() memory release helper in calls free() without first zeroing the buffer contents, releasing heap-allocated buffers containing sensitive data — including one-time pad bytes read from disk — without clearing, leaving the sensitive content in freed heap memory until it happens to be overwritten by a subsequent allocation. On a system where a use-after-free condition exists, or where a heap inspection primitive becomes available, this could allow recovery of pad values or other authentication material from freed memory regions. This is a defence-in-depth requirement consistent with prior hardening work in this codebase (GHSA-vx6f-rrqr-j87c applied explicit_bzero to some pad paths; this issue generalises the pattern to the central deallocation helper).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mcdope pam usb < 0.9.2 –
Tutte le 26 vulnerabilità di Mcdope Pam Usb

Tipo di vulnerabilità

CWE-14 Compiler Removal of Code to Clear Buffers

Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka dead store removal.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Controllo degli accessi Leggere la memoria, Aggirare i meccanismi di protezione

Come si previene

Sviluppo Store the sensitive data in a volatile memory location if available.
Build e compilazione If possible, configure the compiler so that it does not remove dead stores.
Architettura e progettazione Where possible, encrypt sensitive data that are used by a software system.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 10 CVE di tipo CWE-14, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org