CVE-2026-67213

EUVD-2026-50325
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.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
VulnCheckCNA
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
nanoid_projectnanoid
𝑥
< 5.1.6
CNA
Debian logo
Debian Releases
Debian Product
Codename
node-mocha
bookworm
10.1.0+ds1+~cs29.3.1-1
fixed
bullseye
vulnerable
bullseye (security)
vulnerable
forky
11.7.7+ds1+~cs36.3.16-1
fixed
sid
11.7.7+ds1+~cs36.3.16-1
fixed
trixie
10.7.2+ds1+~cs33.1.11-2
fixed
node-postcss
bookworm
vulnerable
bullseye
vulnerable
bullseye (security)
vulnerable
forky
8.5.15+~cs9.3.39-1
fixed
sid
8.5.23+~cs10.2.23-1
fixed
trixie
vulnerable