Home / mcdope / pam_usb / CVE-2026-47270
CVE-2026-47270: is it exploited, and which versions of mcdope pam_usb are affected and fixed?
CVE-2026-47270 is a race condition 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, 17:09 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 (6.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-47270?
pam_usb: strtok() race condition in multi-threaded PAM hosts can corrupt deny_remote result
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb is a PAM module loaded into the host process (sudo, login, GDM, GNOME Shell). Display managers such as GDM run multiple concurrent authentication threads. Three functions used by the deny_remote feature called the non-reentrant strtok(), which stores state in a single global pointer. If two authentications race, one thread's strtok() call can overwrite the other's in-progress tokenisation pointer, causing incorrect parsing of the tmux session data or the /proc environ scan that backs the remote-session detection logic. Additionally, pusb_tmux_get_client_tty() passed the raw pointer returned by getenv(TMUX) directly to strtok(). getenv() returns a pointer into the live process environment block; strtok() inserts NUL bytes into that block, permanently corrupting the TMUX variable for subsequent code running in the same process. In long-lived display managers this affects all future authentications in that process. The combined effect can cause deny_remote=true to return an incorrect decision for a remote session, or an incorrect decision for a local session, depending on thread interleaving. This vulnerability is fixed in 0.9.0.
From the CVE record by GitHub_M, last updated May 28, 2026, 13:25 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-47270?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | 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-47270 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 28, 2026)
- EPSS
- 0.11% probability of exploitation activity in the next 30 days, percentile 1.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-j3xw-vc43-x7jg x_refsource_CONFIRM
- https://github.com/mcdope/pam_usb/commit/94f1640a61d49dfaf38e782680a52f01d5bf8b51 x_refsource_MISC
- 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:10 UTC
- CVE record updated
- May 28, 2026, 13:25 UTC by GitHub_M
- NVD
- Deferred, last modified October 26, 2026, 12:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 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-47270
Is CVE-2026-47270 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.11% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mcdope pam_usb are affected by CVE-2026-47270?
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-47270?
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-47270?
Medium (6.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-47270?
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.