Infinite loop in nanoid - CVE-2026-67213

 

Infinite loop in nanoid - CVE-2026-67213

Published: September 10, 2026


Vulnerability identifier: #VU148867
CSH Severity: Low
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-67213
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to 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. A remote attacker can consume all available system resources and cause denial of service conditions.


Affected software

nanoid
Netezza Appliance - Cyclops

How to mitigate CVE-2026-67213

Install updates from vendor's website.

nanoid - update to 5.1.6
Netezza Appliance - Cyclops - update to 11.3.1.4

External References

Related Security Bulletins