CVE-2026-48065

MEDIUM EPSS 4.5%
Published May 27, 20261mo ago · Modified Jun 17, 20262w ago
6.7 CVSS 3.1
Medium
Find Similar
Published May 27, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/conf.c allocates heap memory proportional to n_devices, a count derived from libxml2 XPath evaluation of the config file, without first enforcing an upper bound. On 32-bit targets (armv7l, i686 -- both listed in the project Makefile), the multiplication n_devices * sizeof(t_pusb_device) wraps around size_t, causing xmalloc() to receive a very small size. Because xmalloc() only calls abort() on NULL return, a small-but-non-NULL allocation is accepted, and subsequent array writes overflow the heap. This vulnerability is fixed in 0.9.1.

CVSS Details

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

Threat Intelligence

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

Weaknesses 2

CWE-122
CWE-190 Integer Overflow or Wraparound Numeric Error

References 3

  • github.com https://github.com/mcdope/pam_usb/issues/352
  • github.com https://github.com/mcdope/pam_usb/issues/55
  • github.com https://github.com/mcdope/pam_usb/security/advisories/GHSA-24mw-m2vf-36vp

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.