CVE-2026-67214

EUVD-2026-50326
nanoid (Nano ID) before 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.
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.16
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