CVE-2026-48985

MEDIUM EPSS 1.7%
Published Jun 18, 20262w ago · Modified Jun 22, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jun 18, 2026 2w ago
Last Modified Jun 22, 2026 1w ago

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. In versions 0.9.1 and below, pusb_is_loginctl_local() can cause a NULL dereference crash when parsing loginctl output. The function calls popen() and reads the result; if the Remote field is only a newline, fgets() succeeds but strtok_r(buf, "\n", &saveptr) returns NULL. A subsequent strcmp(is_remote, "no") then dereferences NULL, causing undefined behavior (typically SIGSEGV) and crashing the PAM module. This can crash the authenticating process (e.g., sudo, login) and, depending on PAM stack configuration, deny access for all users of the affected service. This issue has been fixed in version 0.9.2.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
1.7% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

References 2

  • github.com https://github.com/mcdope/pam_usb/releases/tag/0.9.2
  • github.com https://github.com/mcdope/pam_usb/security/advisories/GHSA-7j6h-wfc2-mg5q

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.