CVE-2026-67214: nanoid Infinite Loop via Negative Size in non-secure module
Vulnerability summary
CVE-2026-67214 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.1% of scored vulnerabilities.
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?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 29-07-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
Description
nanoid (Nano ID) before 3.3.16 and 5.1.16 contains an infinite loop in the customAlphabet and nanoid functions of its non-secure module (nanoid/non-secure). When these functions are given a negative size, the loop counter is decremented from a negative value and never reaches its termination condition, spinning indefinitely and hanging the calling thread. An application that passes an unvalidated, attacker-controlled negative size to these functions is exposed to a denial-of-service condition.
CVSS metrics
12 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.33% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard56 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-fips-2025.12All versions (No fix recorded)
Wolfi7 products
- jitsucom-jitsu-console< 2.11.0-r32
- jupyter-base-notebook< 7.6.3-r2
- langfuse-3< 3.225.1-r1
- langfuse-3-compat< 3.225.7-r6
- langfuse-3-worker< 3.225.1-r1
Debian2 products
- node-mocha< 9.1.4+ds1+~cs28.2.8-1
- node-postcssAll versions (No fix recorded) | < 8.5.15+~cs9.3.39-1
Nanoid_project1 product
- nanoid< 3.3.16 | ≥ 4.0.0, < 5.1.16
Npm1 product
- nanoid< 3.3.16 | ≥ 4.0.0, < 5.1.16
Redhat1 product
- jaeger< 0:2.20.0-0.7.hum1
Ubuntu1 product
- node-postcssAll versions (No fix recorded)
7 vendors · 69 products
References
19 links- www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-moduleThird Party AdvisoryARTICLEAdvisoryWEBPatchRelease Notes
- images.redhat.comARTICLE
Show all 19 references
- github.com/ai/nanoidPACKAGE