This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2026-67213 →
DEBIAN-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 s...
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
node-mocha
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}]
Debian:13
node-mocha
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}]
Debian:14
node-mocha
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.1.4+ds1+~cs28.2.8-1"}]}]
Debian:12
node-postcss
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13
node-postcss
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14
node-postcss
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5.8+~cs9.3.30-1"}]}]
References
- advisory security-tracker.debian.org