CVE-2026-67214
Last modified
CVE-2026-67214 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nanoid Project | Nanoid | < 3.3.16 |
| Nanoid Project | Nanoid | >= 5.0.0, < 5.1.16 |
References
- https://github.com/ai/nanoid/releases/tag/3.3.16Product, Release Notes
- https://github.com/ai/nanoid/releases/tag/5.1.16Product, Release Notes
- https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-modulePatch, Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-67214?
How severe is CVE-2026-67214?
How do I fix CVE-2026-67214?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-67206Wolf CMS through 0.8.3.1 contains a remote code execution vu…8.8
- CVE-2026-67207Wolf CMS through 0.8.3.1 contains an authorization bypass vu…8.8
- CVE-2026-67208Juggle through 1.6.0 contains a remote code execution vulner…9.8
- CVE-2026-6721IBM Concert 1.0.0 through 3.0.0 allows an unauthenticated re…9.8
- CVE-2026-67211OOM Denial of Service via Unbounded Map Pre-Sizing in Apache…7.5
- CVE-2026-67213nanoid (Nano ID) before 5.1.6 contains an infinite loop in t…7.5
- CVE-2026-67215cJSON through 1.7.19 is vulnerable to uncontrolled recursion…8.7
- CVE-2026-67216cJSON through 1.7.19 contains an inefficient algorithmic com…7.5
- CVE-2026-67217cJSON through 1.7.19 applies RFC 6902 JSON Patch operations …6.9
- CVE-2026-67218RabbitMQ is a messaging and streaming broker. Prior to versi…2.1
- CVE-2026-67219RabbitMQ is a messaging and streaming broker. Prior to versi…6
- CVE-2026-6722In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.…9.8
Are you affected by CVE-2026-67214?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
