8.2

CVE-2026-67213: nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom

Analyzed
AliasesRHSA-2026:47614UBUNTU-CVE-2026-67213DEBIAN-CVE-2026-67213
Published 29-07-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-67213 is a high (CVSS 8.2) Loop with Unreachable Exit Condition vulnerability in nanoid_project nanoid. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 26.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v4.0 (CVE.org)
EPSS score
0.33%
0%100%
Low · -0.26 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 29-07-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

12 scores · 8 sources · 2 versions

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

Decrease -0.26 pp

From 0.59% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard70 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • arangodb-3.11< 3.11.14.4-r18
  • arangodb-3.12< 3.12.9.4-r21
  • authentik-2025.12< 2025.12.6-r7
Wolfi11 products
  • jitsucom-jitsu-console< 2.11.0-r32
  • json-server< 0.17.4-r11
  • jupyter-base-notebook< 7.6.3-r2
  • langfuse-3< 3.225.1-r1
  • langfuse-3-compat< 3.225.7-r6
Debian2 products
  • node-mocha< 9.1.4+ds1+~cs28.2.8-1
  • node-postcssAll versions (No fix recorded) | < 8.5.8+~cs9.3.30-1
Nanoid_project1 product
  • nanoid≥ 3.0.0, < 3.3.17 | ≥ 5.0.0, < 5.1.6
Npm1 product
  • nanoid< 3.3.18 | ≥ 4.0.0, < 5.1.6
Redhat1 product
  • jaeger< 0:2.20.0-0.6.hum1
Ubuntu1 product
  • node-postcssAll versions (No fix recorded)

7 vendors · 87 products

References

19 links
Show all 19 references