nanoid: Integer Overflow or Wraparound — GHSA-XWG4-73V4-XW9W
GitHub · GitHub · GHSA-XWG4-73V4-XW9W
ID
GHSA-XWG4-73V4-XW9W
GHSA-XWG4-73V4-XW9W
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.4
7.4
EPSS
0.00296
0.00296
Summary
### Summary An integer overflow in `nanoid(size)` permanently corrupts the process-wide CSPRNG pool, causing all subsequent ID generation to return the deterministic string `"uuuuuuuuuuuuuuuuuuuuu"`. Any application that passes user-influenced values to the `size` parameter loses all randomness guarantees for session tokens, CSRF tokens, and unique identifiers until process restart. ### Details `nanoid()` at…
Timeline
- Published by source
- 2026-09-01
Risk context
- Reported severity or threat level: high.
- Reported CVSS score: 7.4 out of 10.
- Reported EPSS value: 0.00296.
- Review exposure for the affected product or family: npm: nanoid.
Product
npm: nanoid
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-XWG4-73V4-XW9W
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-01
- Last source activity
- 2026-09-01
- Additional identifiers
- CVE-2026-73086
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.