CVE Explorer
CVE-2026-48065
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"pam_usb","vendor":"mcdope","versions":[{"status":"affected","version":"< 0.9.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/mcdope/pam_usb/issues/352","tags":["x_refsource_MISC"],"url":"https://github.com/mcdope/pam_usb/issues/352"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/references/1
{"name":"https://github.com/mcdope/pam_usb/issues/55","tags":["x_refsource_MISC"],"url":"https://github.com/mcdope/pam_usb/issues/55"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/references/2
{"name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-24mw-m2vf-36vp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-24mw-m2vf-36vp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a0dd6de1f0cde3d5ab927eb22ba643abcf47522494bb17807885cb456586a3fb · sha256:a25c84ba0d333c34… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.