PT-2026-44089 · Pam Usb · Pam Usb

·

CVE-2026-48065

·

Published

2026-05-27

·

Updated

2026-05-27

CVSS v3.1

6.7

Medium

VectorAV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions pam usb versions prior to 0.9.1
Description In the src/conf.c file, heap memory is allocated proportional to n devices, a count derived from libxml2 XPath evaluation of the configuration file, without enforcing an upper bound. On 32-bit targets such as armv7l and i686, the multiplication of n devices by sizeof(t pusb device) can wrap around size t, resulting in xmalloc() receiving a very small size. Since xmalloc() only triggers an abort on a NULL return, a small-but-non-NULL allocation is accepted, leading to a heap-based buffer overflow during subsequent array writes.
Recommendations Update to version 0.9.1.

Exploit

Fix

Heap Based Buffer Overflow

Integer Overflow

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

Weakness Enumeration

Related Identifiers

CVE-2026-48065
GHSA-24MW-M2VF-36VP

Affected Products

Pam Usb