Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-67214

published high CVSS 4.0 · 8.2

nanoid Infinite Loop via Negative Size in non-secure module

Published
29 Jul 2026, 13:32:02 UTC
Updated
29 Oct 2026, 21:16:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
nanoid_project — nanoid4.0.0 to < 5.1.16 (affected · semver) · 5.1.16 (unaffected · semver) · 0 to < 3.3.16 (affected · semver) · 3.3.16 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.2 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
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
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.9 medium VulnCheck · cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nanoid_project nanoid 4.0.0 to < 5.1.16 (affected · semver)5.1.16 (unaffected · semver)0 to < 3.3.16 (affected · semver)3.3.16 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') (VulnCheck · cna)

References

4
  • Fix Commit https://github.com/ai/nanoid/commit/6ccc67bbaba71d3d77a21d9b636f4171a268ce49 patch Contributors: VulnCheck (cna)
  • v3.3.16 Release Notes https://github.com/ai/nanoid/releases/tag/3.3.16 release-notes Contributors: VulnCheck (cna)
  • v5.1.16 Release Notes https://github.com/ai/nanoid/releases/tag/5.1.16 release-notes Contributors: VulnCheck (cna)
  • VulnCheck Advisory https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-module third-party-advisory Contributors: VulnCheck (cna)

Provider assertions

2

VulnCheck · cna

nanoid Infinite Loop via Negative Size in non-secure module

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c2f379739fb7215c3fee9c2b7e3618ad74f89f44d04d999cfcf00a7aa4ef10aa
Ingested
29 Oct 2026, 21:23:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected