CVE Explorer
CVE-2026-47271
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, src/mem.c implemented out-of-memory guards for xmalloc(), xrealloc(), and xstrdup() using assert(data != NULL). The C standard specifies that all assert() expressions are compiled out when NDEBUG is defined at build time. NDEBUG is commonly defined in release and packaging builds (Debian, Fedora, Arch package flags all define it via -DNDEBUG in CFLAGS). With the guard removed, xmalloc/xrealloc/xstr
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pam_usb","vendor":"mcdope","versions":[{"status":"affected","version":"< 0.9.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:67778f5aaf5ecc567918ce8951cdc1e0ea5dc6c053393b9facac5b9f6e13c9c5 · sha256:23deaadb8dd47bf7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:67778f5aaf5ecc567918ce8951cdc1e0ea5dc6c053393b9facac5b9f6e13c9c5 · sha256:23deaadb8dd47bf7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:67778f5aaf5ecc567918ce8951cdc1e0ea5dc6c053393b9facac5b9f6e13c9c5 · sha256:23deaadb8dd47bf7… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/mcdope/pam_usb/commit/d003e551b794a9e3774ff4720830fb7aadaa48bd","tags":["x_refsource_MISC"],"url":"https://github.com/mcdope/pam_usb/commit/d003e551b794a9e3774ff4720830fb7aadaa48bd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:67778f5aaf5ecc567918ce8951cdc1e0ea5dc6c053393b9facac5b9f6e13c9c5 · sha256:23deaadb8dd47bf7… · /containers/cna/references/1
{"name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-7rvx-jcc6-7hqq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-7rvx-jcc6-7hqq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:67778f5aaf5ecc567918ce8951cdc1e0ea5dc6c053393b9facac5b9f6e13c9c5 · sha256:23deaadb8dd47bf7… · /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.