CVE-2026-67213
nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom
02 Description
nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.33% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 26.0% of scored records. A rank, not a probability.
- NVD base score
- 8.2 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-23.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-07-29 13:32Z3 MO AGO
- Last updated
- 2026-10-08 15:24Z21 DAYS AGO
- Reserved
- 2026-07-28
- Assigning CNA
- VulnCheck
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.2)
- CNA CVSS vector
- 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
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.2
- Document digest
- 718ff8cb54bf6e1888329862b57a14b8d665ab320975466d8c28a022b7bbb808
05 Affected products
06 References
- github.comnanoid 5.1.6 release noteshttps://github.com/ai/nanoid/releases/tag/5.1.6
- github.comFix commit (reject size of 0)https://github.com/ai/nanoid/commit/cb3626d0f3342fdf179cd425fd9c4fbb92c7d0e7
- www.vulncheck.comVulnCheck Advisory: nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandomhttps://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-zero-size-in-customalphabet-and-customrandom
07 Fixed in
Debian 12
- node-mocha Fixed in 9.1.4+ds1+~cs28.2.8-1
- node-postcss No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- node-mocha Fixed in 9.1.4+ds1+~cs28.2.8-1
- node-postcss No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- node-mocha Fixed in 9.1.4+ds1+~cs28.2.8-1
- node-postcss Fixed in 8.5.8+~cs9.3.30-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- node-postcss No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- node-postcss No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- node-postcss No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.