Vulnerability
CVE-2026-67214
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.
170 advisories report this vulnerability, across 7 ecosystems.
Advisories in Wolfi
- CGA-2327-mx34-26j4
- CGA-3p98-j95g-f38j
- CGA-45cf-cm7j-rmjc
- CGA-4pgx-vj5q-cjhw
- CGA-5f26-7qwq-rqgp
- CGA-5v7q-8c6p-f26r
- CGA-6v6x-pmfx-g284
- CGA-893x-74f4-2mwf
- CGA-9594-4r3p-q2m4
- CGA-c54w-gpvf-vhrg
- CGA-cmm6-ph5q-pv4g
- CGA-f2rh-3fvr-vgvh
- CGA-gh3w-w457-2h38
- CGA-mjw5-rgq9-cwc2
- CGA-pvh9-mf8r-r65p
- CGA-q5hr-5mfc-5m5w
- CGA-rh92-x2qc-9f6j
- CGA-wc3j-87m6-6rfr
- CGA-wh2c-4ppr-qjm4
- CGA-xf58-g2gx-c98x