Answer in brief
CVE-2026-67213 records a High severity (CVSS 5.9) vulnerability in nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom. The current sources do not mark it as known exploited. The current feed maps nanoid_project/nanoid (generic), nanoid (npm), nanoid (npm), nanoid (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
Answer in brief
CVE-2026-67213 records a High severity (CVSS 5.9) vulnerability in nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom. The current sources do not mark it as known exploited. The current feed maps nanoid_project/nanoid (generic), nanoid (npm), nanoid (npm), nanoid (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.9. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps nanoid_project/nanoid (generic), nanoid (npm), nanoid (npm), nanoid (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| nanoid_project/nanoidgeneric | >=3.0.0 <3.3.17 || >=5.0.0 <5.1.6 | 3.3.17, 5.1.6 |
| nanoidnpm | <3.3.17 | 3.3.17 |
| nanoidnpm | >=4.0.0,<5.1.6 | 5.1.6 |
| nanoidnpm | >=0 <3.3.17 | 3.3.17 |
| nanoidnpm | >=4.0.0 <5.1.6 | 5.1.6 |
Published upstream
Jul 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 10, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 7, 2026
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.
Quoted source text, attributed separately from HOL analysis.
CVSS is 5.9. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps nanoid_project/nanoid (generic), nanoid (npm), nanoid (npm), nanoid (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| nanoid_project/nanoidgeneric | >=3.0.0 <3.3.17 || >=5.0.0 <5.1.6 | 3.3.17, 5.1.6 |
| nanoidnpm | <3.3.17 | 3.3.17 |
| nanoidnpm | >=4.0.0,<5.1.6 | 5.1.6 |
| nanoidnpm | >=0 <3.3.17 | 3.3.17 |
| nanoidnpm | >=4.0.0 <5.1.6 | 5.1.6 |
Published upstream
Jul 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 10, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 7, 2026
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.
Quoted source text, attributed separately from HOL analysis.