# CVE-2026-47272: pam_usb: OTP pad authentication bypass via missing system pad check and uninitialized RNG buffer

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-27T20:06:15.388Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-287, CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, the pusb_pad_compare() function in src/pad.c only verified that the user-side pad (~/.pamusb/device.pad) could be read, but did not enforce that the system-side pad (the pad file on the USB device) was also present and readable. If the user-side pad was deleted or unreadable, the function returned a failure that was treated as non-fatal in certain code paths, allowing authentication to succeed without the USB device being verified. A local user can delete their own ~/.pamusb/device.pad to remove the USB device requirement and authenticate without the physical device. This vulnerability is fixed in 0.9.0.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.9.0

## References

- <https://github.com/mcdope/pam_usb/security/advisories/GHSA-vx6f-rrqr-j87c>

## Sources

- CVE List: [CVE-2026-47272](https://www.cve.org/CVERecord?id=CVE-2026-47272), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-47272](https://nvd.nist.gov/vuln/detail/CVE-2026-47272), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47272 · Whole record: https://cve.day/CVE-2026-47272.json · Rebuilt by cve.day 2026-11-25T22:59:22.673Z
