CVE-2026-48984
published medium CVSS 3.1 · 4.7pam_usb: xfree() does not call explicit_bzero — sensitive cryptographic material may linger in freed heap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mcdope | — | pam_usb< 0.9.2 | Affected | Not stated | GitHub_M |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mcdope | pam_usb | < 0.9.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-14 CWE-14: Compiler Removal of Code to Clear Buffers
- CWE-226 CWE-226: Sensitive Information in Resource Not Removed Before Reuse
References
2Provider assertions
2GitHub_M · cna
pam_usb: xfree() does not call explicit_bzero — sensitive cryptographic material may linger in freed heap
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dacc2368ddaeef38ccec456e76733c67b5200d7ad37c86707523dc0253d8cb7f
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record