Skip to main content
← All vulnerabilities
CVE-2026-44710

pam_usb: NULL pointer dereference from UDisks device fields causes PAM crash and login denial-of-service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, src/device.c passed the return values of udisks_drive_get_serial(), udisks_drive_get_vendor(), and udisks_drive_get_model() directly to strcmp() without NULL checks. The GIO/UDisks API documentation states these accessors can return NULL for devices that do not expose the corresponding field. Passing NULL to strcmp() is undefined behaviour (typically a SIGSEGV). This vulnerability is fixed in 0.8.7.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mcdope pam_usb

    fixed in 0.8.7

References 1

GitHub · mcdope/pam_usb