nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.
CVE-2026-67213
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.6% (45th percentile of EPSS-scored CVEs). GitHub Security Advisory enrichment pending alignment with NVD CVSS.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 34EG Risk 34/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation1% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.6%
- EPSS %ILE
- 45th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
July 29, 2026
Last Modified
August 18, 2026
Advisory Details (3)
Auto-updated Jul 29, 2026nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom | Advisories | VulnCheck
https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-zero-size-in-customalphabet-and-customrandomcommit cb3626d0f334 (ai/nanoid)
Patch available: ai/nanoid 5.1.6 (contains commit cb3626d0f334)
https://github.com/ai/nanoid/commit/cb3626d0f3342fdf179cd425fd9c4fbb92c7d0e75.1.6
Patch available: ai/nanoid 5.1.6
https://github.com/ai/nanoid/releases/tag/5.1.6Vendor Advisories for CVE-2026-67213(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:70593Red Hat Product SecurityHigh
Red Hat Security Advisory: Network Observability 1.12.3 for OpenShift
- RHSA-2026:70267Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.14.9
- RHSA-2026:69255Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.16.6
- RHSA-2026:68754Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.30.1 Release.
- RHSA-2026:66523Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.12.22
- RHSA-2026:66084Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.10.26
- RHSA-2026:65514Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Quay 3.9.26
- RHSA-2026:65155Red Hat Product SecurityHigh
Red Hat Security Advisory: Ansible plug-ins for Red Hat Developer Hub Product Release Update
- +12 more
Patch Availability(21)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(9 across 5 ecosystems)
Debian:11(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-mocha | 10.0.0+ds1+~cs28.5.6-1 ... 9.2.2+ds1+~cs28.5.6-2 (30 versions) | — | — |
| node-postcss | 8.2.1+~cs5.3.23-8 ... 8.5.9+~cs9.3.30-1 (31 versions) | — | — |
Debian:12(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-mocha | — | 9.1.4+ds1+~cs28.2.8-1 | — |
| node-postcss | 8.4.20+~cs8.0.23-1 ... 8.5.9+~cs9.3.30-1 (18 versions) | — | — |
Debian:13(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-mocha | — | 9.1.4+ds1+~cs28.2.8-1 | — |
| node-postcss | 8.4.49+~cs9.2.32-1 ... 8.5.9+~cs9.3.30-1 (14 versions) | — | — |
Debian:14(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-mocha | — | 9.1.4+ds1+~cs28.2.8-1 | — |
| node-postcss | 8.4.49+~cs9.2.32-1, 8.5.6+~cs9.3.28-1 | 8.5.8+~cs9.3.30-1 | — |
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| nanoid | — | 5.1.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 15× in last 7d / 75× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 171 total refreshes for this CVE.
- 2026-09-29 07:36 UTCEG score recompute
- 2026-09-29 07:36 UTCVendor advisory
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 03:17 UTCEG score recompute
- 2026-09-28 03:17 UTCVendor advisory
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 05:41 UTCEG score recompute
- 2026-09-25 05:41 UTCVendor advisory
- 2026-09-24 09:41 UTCVendor advisory
- 2026-09-23 21:50 UTCEG score recompute
- 2026-09-23 21:50 UTCVendor advisory
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 03:41 UTCEG score recompute
- 2026-09-23 03:41 UTCVendor advisory
- 2026-09-22 15:49 UTCEG score recompute
- 2026-09-22 15:49 UTCVendor advisory
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 00:23 UTCEG score recompute
- 2026-09-20 00:23 UTCVendor advisory
- 2026-09-19 04:55 UTCEG score recompute
- 2026-09-19 04:55 UTCVendor advisory
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 15:17 UTCVendor advisory
- 2026-09-18 01:43 UTCEG score recompute
Show 75 moreShow fewer
- 2026-09-18 01:43 UTCVendor advisory
- 2026-09-17 01:36 UTCEG score recompute
- 2026-09-17 01:36 UTCVendor advisory
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:49 UTCEG score recompute
- 2026-09-16 05:49 UTCVendor advisory
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 08:08 UTCEG score recompute
- 2026-09-15 08:08 UTCVendor advisory
- 2026-09-14 07:46 UTCVendor advisory
- 2026-09-13 19:53 UTCEG score recompute
- 2026-09-13 19:53 UTCVendor advisory
- 2026-09-13 07:12 UTCVendor advisory
- 2026-09-12 19:21 UTCEG score recompute
- 2026-09-12 19:21 UTCVendor advisory
- 2026-09-12 07:29 UTCVendor advisory
- 2026-09-11 19:37 UTCEG score recompute
- 2026-09-11 19:37 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-11 07:45 UTCVendor advisory
- 2026-09-10 19:52 UTCEG score recompute
- 2026-09-10 19:52 UTCVendor advisory
- 2026-09-10 07:14 UTCVendor advisory
- 2026-09-09 07:50 UTCEG score recompute
- 2026-09-09 07:50 UTCVendor advisory
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 20:52 UTCEG score recompute
- 2026-09-07 20:52 UTCVendor advisory
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 18:50 UTCEG score recompute
- 2026-09-06 18:50 UTCVendor advisory
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 06:58 UTCVendor advisory
- 2026-09-05 19:07 UTCEG score recompute
- 2026-09-05 19:07 UTCVendor advisory
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 05:16 UTCEG score recompute
- 2026-09-05 05:16 UTCVendor advisory
- 2026-09-04 11:56 UTCEG score recompute
- 2026-09-04 11:56 UTCVendor advisory
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 22:47 UTCEG score recompute
- 2026-09-01 22:47 UTCVendor advisory
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 23:59 UTCVendor advisory
- 2026-08-30 23:02 UTCEG score recompute
- 2026-08-30 23:02 UTCVendor advisory
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 11:11 UTCEG score recompute
- 2026-08-30 11:11 UTCVendor advisory
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 23:20 UTCEG score recompute
- 2026-08-29 23:20 UTCVendor advisory
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 01:40 UTCEG score recompute
- 2026-08-28 01:40 UTCVendor advisory
- 2026-08-27 13:49 UTCVendor advisory
- 2026-08-27 01:57 UTCEG score recompute
- 2026-08-27 01:57 UTCVendor advisory
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 14:06 UTCVendor advisory
- 2026-08-26 02:11 UTCVendor advisory
- 2026-08-25 14:20 UTCEG score recompute
- 2026-08-25 14:20 UTCVendor advisory
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 02:08 UTCEG score recompute
- 2026-08-25 02:08 UTCVendor advisory
- 2026-08-24 14:17 UTCEG score recompute
- 2026-08-24 14:17 UTCVendor advisory
- 2026-08-24 02:25 UTCVendor advisory
- 2026-08-23 14:31 UTCVendor advisory
- 2026-08-23 02:39 UTCEG score recompute
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:node-mocha · Debian:12:node-mocha · Debian:11:node-postcss
Same vendor
10 shownredhat:RHSA-2026:48241 · redhat:RHSA-2026:59558 · redhat:RHSA-2026:47619
Frequently asked(5)
What is CVE-2026-67213?
When was CVE-2026-67213 disclosed?
Is CVE-2026-67213 actively exploited?
What is the CVSS score of CVE-2026-67213?
How do I remediate CVE-2026-67213?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-67213
Is Your Infrastructure Affected by CVE-2026-67213?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.