{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-48065","published":"2026-05-27T20:16:40.380000Z","last_modified":"2026-10-26T11:10:00.157000Z","status":"Deferred","cvss":{"version":"3.1","score":6.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-122","CWE-190"],"cpes":[],"cpes_truncated":false,"vendors":["mcdope"],"products":["mcdope/pam_usb"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":40,"links":{"html_es":"/es/cve/CVE-2026-48065/","html_en":"/en/cve/CVE-2026-48065/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-48065","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-48065"},"untrusted":{"vendor_name":"mcdope","product_name":"pam_usb","desc_en":"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.","affected":[{"untrusted_vendor":"mcdope","untrusted_product":"pam_usb","versions":[]}],"references":[{"url":"https://github.com/mcdope/pam_usb/issues/352","tags":[]},{"url":"https://github.com/mcdope/pam_usb/issues/55","tags":[]},{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-24mw-m2vf-36vp","tags":[]}]}}