{"id":"CVE-2026-48986","aliases":["CVE-2026-48986"],"related":[],"kind":"vulnerability","state":"published","title":"pam_usb: Infinite loop DoS in process-tree walk when parent process exits during authentication","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles. En pam_usb 0.9.1 y anteriores, usb_get_process_parent_id() puede causar un DoS de bucle infinito porque no inicializa ppid al fallar. En pusb_local_login(), la misma variable se reutiliza como entrada y salida en un bucle while de árbol de procesos; si /proc/[pid]/stat no se puede leer (por ejemplo, cuando un proceso ancestro sale durante la autenticación), el PID no se actualiza y el bucle no termina. Esto cuelga el proceso de autenticación (como sudo, sshd o login) hasta que se termina forzosamente. Este problema ha sido solucionado en la versión 0.9.2.","source":"nvd"}],"published":"2026-06-18T17:20:51.643Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"< 0.9.2","status":"affected"}],"vendor":"mcdope","product":"pam_usb","source":"cvelist"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-h28h-9hc3-v595","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mcdope/pam_usb/releases/tag/0.9.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-22T12:34:27.319Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48986","url":"https://www.cve.org/CVERecord?id=CVE-2026-48986","licence":"CVE Terms of Use","modified":"2026-06-22T12:34:51.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48986","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48986","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:25.164Z","epss":{"score":0.00104,"percentile":0.01118,"date":"2026-12-01T12:00:22.000Z"}}