PT-2026-44089 · Pam Usb · Pam Usb
Mcdope
·
Published
2026-05-27
·
Updated
2026-05-27
·
CVE-2026-48065
CVSS v3.1
6.7
Medium
| Vector | AV: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.
Fix
Integer Overflow
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pam Usb