Vulnerability
CVE-2026-67213
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.
197 advisories report this vulnerability, across 7 ecosystems.
Advisories in Wolfi
- CGA-2h3m-836p-c966
- CGA-2rg4-xwg7-cwmw
- CGA-2xhw-pgwm-hc9g
- CGA-49p9-gxv5-mf8w
- CGA-626h-8f2q-9cwv
- CGA-83hc-8mj6-c85j
- CGA-8f42-grcp-qfmm
- CGA-9q8v-q8vr-qqr2
- CGA-c4vf-3gcv-2f62
- CGA-cgv9-j4v9-984r
- CGA-cpjh-jfh5-r3w7
- CGA-fh5f-5fh8-8mhf
- CGA-fhjh-m6g6-3chw
- CGA-fpcw-8qp4-4w99
- CGA-g28v-hmc7-m79h
- CGA-g8fw-jm33-hgr2
- CGA-gwxj-vxp5-hmx8
- CGA-j886-8c9m-ffw9
- CGA-jp7w-wmhx-ph3j
- CGA-mx5c-f8f3-8c24
- CGA-p57f-8cp8-wrm5
- CGA-ppp3-3569-rwmp
- CGA-prr5-qwvf-8rc7
- CGA-px3q-xmvv-3f8x
- CGA-rgwj-wjrp-4hp9
- CGA-vmrv-48xh-x5mw
- CGA-wg23-4fp6-24x8
- CGA-xjfc-4hx3-pc33
- CGA-xjmg-2vf2-6qr4