NULL Pointer Dereference Affecting mcdope/pam_usb package, versions [,0.9.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MCDOPEPAMUSB-17660691
  • published27 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

NewCVE-2026-48985  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade mcdope/pam_usb to version 0.9.2 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the pusb_is_loginctl_local function when parsing the output of loginctl due to improper handling of an empty Remote field. An attacker can cause the authenticating process to crash by triggering a situation where the Remote field is only a newline, leading to a NULL pointer dereference.

CVSS Base Scores

version 4.0
version 3.1