CVE-2026-67213
CVSS v3
5.9
MEDIUM
EPSS Score
0.6 %
exploit probability, as of 2026-10-16
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for nanoid. Watch nanoid in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- nanoidnpmfrom 4.0.0 · fixed in 5.1.6
Vendor advisories
nanoid: nanoid: Denial of Service via infinite loop in random ID generation
rhmtc/openshift-migration-ui-rhel8 as a component of Migration Toolkit for Containers · workload-availability/node-healthcheck-must-gather-rhel9 as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-operator-bundle as a component of Node HealthCheck Operator
Red Hat Security Advisory: Red Hat Developer Hub 1.10.5 release.
Red Hat Security Advisory: OpenShift Container Platform 4.20.41 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.22.17 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.21.36 bug fix and security update
Red Hat Security Advisory: Red Hat Quay 3.17.5
21 more advisories
Description
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-07-29
- Last Modified
- 2026-07-30
Frequently asked questions
What is CVE-2026-67213?
Is CVE-2026-67213 actively exploited?
What is the CVSS score for CVE-2026-67213?
Running nanoid? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.