Home / mcdope / pam_usb / CVE-2026-47271
CVE-2026-47271: is it exploited, and which versions of mcdope pam_usb are affected and fixed?
CVE-2026-47271 is a NULL pointer dereference (crash) vulnerability in mcdope pam_usb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: pam_usb < 0.9.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-47271?
pam_usb: OOM guards removed by -DNDEBUG cause NULL dereference and authentication process crash
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/xstrdup silently return NULL on allocation failure. Every caller in the codebase dereferences the return value without a NULL check -- this is the intended design, as the guard was supposed to abort before the dereference. With the guard gone, any allocation failure causes a NULL pointer dereference, crashing the PAM module. A crash in a PAM module loaded by sudo or login causes authentication to fail for the duration of the crash, creating a local denial-of-service condition. An attacker who can induce memory pressure at authentication time can lock all users out of sudo and login. This vulnerability is fixed in 0.9.0.
From the CVE record by GitHub_M, last updated May 28, 2026, 13:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mcdope | pam_usb | < 0.9.0 |
As the CVE record by GitHub_M states it, last updated May 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-47271?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-47271 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 28, 2026)
- EPSS
- 0.12% probability of exploitation activity in the next 30 days, percentile 2.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-7rvx-jcc6-7hqq x_refsource_CONFIRM
- https://github.com/mcdope/pam_usb/commit/d003e551b794a9e3774ff4720830fb7aadaa48bd x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 18, 2026
- Published
- May 27, 2026, 20:08 UTC
- CVE record updated
- May 28, 2026, 13:38 UTC by GitHub_M
- NVD
- Deferred, last modified October 26, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect pam_usb?
- Nov 11, 2026CVE-2026-64669 mcdope pam_usb: improper authorization
- Nov 11, 2026CVE-2026-64667 mcdope pam_usb: out-of-bounds read
- Nov 11, 2026CVE-2026-64666 mcdope pam_usb: reliance on Untrusted Inputs in a Security Decision
- Nov 11, 2026CVE-2026-64668 mcdope pam_usb: improper authorization
- Jun 18, 2026CVE-2026-48980 mcdope pam_usb: external Initialization of Trusted Variables or Data Stores
- Jun 18, 2026CVE-2026-48983 mcdope pam_usb: time-of-check time-of-use race condition
- Jun 18, 2026CVE-2026-48982 mcdope pam_usb: race condition
- Jun 18, 2026CVE-2026-48981 mcdope pam_usb: XML external entity (XXE)
Questions about CVE-2026-47271
Is CVE-2026-47271 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.12% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of mcdope pam_usb are affected by CVE-2026-47271?
pam_usb < 0.9.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-47271?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-47271?
Medium (5.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-47271?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.