PT-2026-50770 · Pam Usb · Pam Usb

·

CVE-2026-48985

·

Published

2026-06-18

·

Updated

2026-06-22

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions pam usb versions prior to 0.9.2
Description An issue exists in the pusb is loginctl local() function where a NULL dereference crash can occur when parsing loginctl output. The function utilizes popen() to read results; if the Remote field contains only a newline, fgets() succeeds but strtok r(buf, " ", &saveptr) returns NULL. A subsequent strcmp(is remote, "no") then dereferences this NULL value, leading to undefined behavior, typically a SIGSEGV (segmentation fault), which crashes the PAM module. This can result in the crash of authenticating processes such as sudo or login and may deny access to all users of the affected service depending on the PAM stack configuration.
Recommendations Update to version 0.9.2.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-48985
GHSA-7J6H-WFC2-MG5Q

Affected Products

Pam Usb