CVE-2026-67214

EUVD-2026-50326
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.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
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: 25.85%
Affected Products (NVD)
VendorProductVersion
nanoid_projectnanoid
𝑥
< 3.3.16
nanoid_projectnanoid
5.0.0 ≤
𝑥
< 5.1.16
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-mocha
bookworm
10.1.0+ds1+~cs29.3.1-1
fixed
bullseye
postponed
forky
11.8.0+ds1+~cs36.4.12-3
fixed
sid
11.8.0+ds1+~cs36.4.12-3
fixed
trixie
10.7.2+ds1+~cs33.1.11-2
fixed
node-postcss
bookworm
postponed
forky
8.5.26+~cs10.2.24-1
fixed
sid
8.5.26+~cs10.2.24-1
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-postcss
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage