๐Ÿ” CVE Alert

CVE-2026-64667

MEDIUM 4.4

pam_usb: Heap out-of-bounds read in pusb_get_tty_from_display_server cmdline scan

CVSS Score
4.4
EPSS Score
0.0%
EPSS Percentile
0th

pam_usb provides hardware authentication for Linux using removable media. Prior to version 0.9.3, src/local.c (pusb_get_tty_from_display_server) allocates a 4096-byte cmdline buffer, reads up to 4096 bytes from /proc//cmdline, then replaces every NUL separator with a space. When read(2) returns exactly 4096 bytes for any process the function inspects, the buffer ends without a terminator and the subsequent strstr() calls scan past the allocation boundary. The function is invoked during normal PAM authentication when DISPLAY is set, so the read fires for every process at auth time. Consequences are bounded: strstr output is a Boolean substring match (limited info-disclosure surface) but a hostile heap layout can produce a SIGSEGV that terminates the host PAM process. This issue has been patched in version 0.9.3.

CWE CWE-125
Vendor mcdope
Product pam_usb
Published Nov 11, 2026
Stay Ahead of the Next One

Get instant alerts for mcdope pam_usb

Be the first to know when new medium vulnerabilities affecting mcdope pam_usb are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Affected Versions

mcdope / pam_usb
< 0.9.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mcdope/pam_usb/security/advisories/GHSA-gc6f-5hpq-ghxh github.com: https://github.com/mcdope/pam_usb/issues/411 github.com: https://github.com/mcdope/pam_usb/pull/426 github.com: https://github.com/mcdope/pam_usb/commit/d0a2e716241304cdb069adfaf54d2ede629d57fa github.com: https://github.com/mcdope/pam_usb/releases/tag/0.9.3