# CVE-2026-48986: pam_usb: Infinite loop DoS in process-tree walk when parent process exits during authentication

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-18T17:20:51.643Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

pam_usb provides hardware authentication for Linux using removable media. In pam_usb 0.9.1 and earlier, usb_get_process_parent_id() can cause an infinite loop DoS because it does not initialize *ppid on failure. In pusb_local_login(), the same variable is reused as input and output in a process-tree while loop; if /proc/<pid>/stat cannot be read (for example, when an ancestor process exits during authentication), the PID is not updated and the loop does not terminate. This hangs the authenticating process (such as sudo, sshd, or login) until it is forcibly terminated. This issue has been fixed in version 0.9.2.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.9.2

## References

- <https://github.com/mcdope/pam_usb/security/advisories/GHSA-h28h-9hc3-v595>
- <https://github.com/mcdope/pam_usb/releases/tag/0.9.2>

## Sources

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

---

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