A AegiFlow
HIGHCVSS 8.2EPSS 0.3%

CVE-2026-67214

CVE-2026-67214 updated by NVD

Published
2026-07-29
Modified
2026-09-21
EPSS percentile
26%
Sources
github-advisory, nvd, osv

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
npmnanoid3.3.16, 5.1.16
npmnanoid5.1.16

Remediation: Upgrade to 3.3.16 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

Includes data from OSV.dev.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.