Home / nanoid_project / nanoid / CVE-2026-67214
CVE-2026-67214: is it exploited, and which versions of nanoid_project nanoid are affected and fixed?
CVE-2026-67214 is an infinite loop (denial of service) vulnerability in nanoid_project nanoid. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: nanoid before 3.3.16 and nanoid from 4.0.0 before 5.1.16 (GitHub advisory GHSA-28wg-ghj8-5hjv). Fixed in 3.3.16 and 5.1.16 (GitHub advisory GHSA-28wg-ghj8-5hjv). Severity: High (8.2, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-67214?
nanoid Infinite Loop via Negative Size in non-secure module
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.
From the CVE record by VulnCheck, last updated October 29, 2026, 21:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nanoid_project | nanoid | from 4.0.0 before 5.1.16 before 3.3.16 | 5.1.16, 3.3.16 |
As the CVE record by VulnCheck states it, last updated October 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | nanoid | < 3.3.16 | 3.3.16 | GHSA-28wg-ghj8-5hjv |
| npm | nanoid | >= 4.0.0, < 5.1.16 | 5.1.16 | GHSA-28wg-ghj8-5hjv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 7, 2026. Summary: nanoid: non-secure generators can loop indefinitely with negative size.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nanoid project | nanoid | before 3.3.16 | application |
| nanoid project | nanoid | from 4.0.0 before 5.1.16 | application |
NVD analysis (status Analyzed), last modified October 29, 2026, 21:17 UTC.
How severe is CVE-2026-67214?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-67214 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 29, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- v5.1.16 Release Notes release-notes
- v3.3.16 Release Notes release-notes
- Fix Commit patch
- VulnCheck Advisory third-party-advisory
When was it published, and where is the official record?
- Reserved
- July 28, 2026
- Published
- July 29, 2026, 13:32 UTC
- CVE record updated
- October 29, 2026, 21:16 UTC by VulnCheck
- NVD
- Analyzed, last modified October 29, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nanoid?
- Jul 29, 2026CVE-2026-67213 nanoid_project nanoid: infinite loop (denial of service)
Questions about CVE-2026-67214
Is CVE-2026-67214 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nanoid_project nanoid are affected by CVE-2026-67214?
nanoid before 3.3.16 and nanoid from 4.0.0 before 5.1.16, per the GitHub advisory GHSA-28wg-ghj8-5hjv. The tables above give every range the sources list.
Which version fixes CVE-2026-67214?
3.3.16 and 5.1.16, per the GitHub advisory GHSA-28wg-ghj8-5hjv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-67214?
High (8.2, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-67214?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.