---
cve: "CVE-2026-48065"
severity: "MEDIUM"
cvss: 6.7
epss: "15%"
vendor: "mcdope"
kev: false
exploited: false
published: "2026-05-27 20:16:40"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-14T07:20:23+02:00"
---

# CVE-2026-48065

> 6.7 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- e2f30b22cd0715fcde0fc62d6ee3e1ca6370b8a9 (Commit)

## Referenzen

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

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-48065) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
