CVE-2026-48984 Details
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).
A vulnerability exists in pam_usb versions through 0.9.1, where the memory release function xfree() fails to properly clear sensitive data before freeing the memory. This oversight allows cryptographic materials, such as one-time pad bytes, to remain in freed memory until overwritten by new allocations. In environments with a use-after-free condition or available heap inspection tools, this residual data could be recovered, potentially compromising authentication materials. This vulnerability is part of a broader defense-in-depth strategy, aligning with previous hardening efforts in the pam_usb codebase.
Users can upgrade to pam_usb version 0.9.2, which addresses this vulnerability by modifying the xfree() function to include a memory zeroing step before freeing the data. This version is available on the GitHub Releases page for the pam_usb repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 18, 2026CISA-ADP
Assessed Jun 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mcdope/pam_usb/releases/tag/0.9.2 | [email protected] | Release NotesVendor |
| https://github.com/mcdope/pam_usb/security/advisories/GHSA-rmp6-wfrq-wrrc | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-14 | Compiler Removal of Code to Clear Buffers | [email protected] |
| CWE-226 | Sensitive Information in Resource Not Removed Before Reuse | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mcdope pam_usb | <= 0.9.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 18, 2026 | CVE Modified | CISA-ADP |
| Jun 18, 2026 | New CVE Received | [email protected] |
Volerion