Race Condition 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.09% (1st 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 IDSNYK-UNMANAGED-MCDOPEPAMUSB-17660694
  • published27 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

NewCVE-2026-48982  (opens in a new tab)
CWE-362  (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 Race Condition due to the creation of a temporary file for the one-time pad without using the O_EXCL flag in the open process. An attacker can cause authentication failures or enable pad reuse by racing concurrent updates to the pad file.

CVSS Base Scores

version 4.0
version 3.1