{"id":"CVE-2026-67214","aliases":[],"cve":{"records":[{"id":"CVE-2026-67214","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-28T18:13:39.684Z","published":"2026-07-29T13:32:02.265Z","modified":"2026-10-29T21:16:30.083Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-10-29T21:16:30.083Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-07-29T14:37:19.382Z"}],"references":[{"url":"https://github.com/ai/nanoid/releases/tag/5.1.16","tags":["release-notes"],"source":"VulnCheck"},{"url":"https://github.com/ai/nanoid/releases/tag/3.3.16","tags":["release-notes"],"source":"VulnCheck"},{"url":"https://github.com/ai/nanoid/commit/6ccc67bbaba71d3d77a21d9b636f4171a268ce49","tags":["patch"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-module","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-835","description":"Loop with Unreachable Exit Condition ('Infinite Loop')","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.1.16","versionStartIncluding":"4.0.0"},{"vulnerable":true,"criteria":"cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.3.16"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-07-29T14:37:09.751333Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"nanoid Infinite Loop via Negative Size in non-secure module","titleSource":"VulnCheck","descriptionSource":"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.","score":8.2,"severity":"high","published":"2026-07-29T13:32:02.265Z","modified":"2026-10-29T21:16:30.083Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"nanoid_project","name":"nanoid","platforms":[],"versions":[{"version":"4.0.0","status":"affected","lessThan":"5.1.16","versionType":"semver"},{"version":"5.1.16","status":"unaffected","versionType":"semver"},{"version":"0","status":"affected","lessThan":"3.3.16","versionType":"semver"},{"version":"3.3.16","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:npm/nanoid","packageIdentity":{"ecosystem":"npm","name":"nanoid"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-67214"}],"remediation":[],"references":["https://github.com/ai/nanoid/releases/tag/5.1.16","https://github.com/ai/nanoid/releases/tag/3.3.16","https://github.com/ai/nanoid/commit/6ccc67bbaba71d3d77a21d9b636f4171a268ce49","https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-module"],"sources":[{"name":"CVE","id":"CVE-2026-67214","modified":"2026-10-29T21:16:30.083Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-67214"}],"assessments":[{"source":"VulnCheck","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","score":8.2},{"source":"VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9}],"sourceAffected":[],"observedAt":"2026-10-29T21:29:53.641Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T08:55:34.575Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-29T22:30:33.021Z","attemptedAt":"2026-10-29T22:30:33.021Z"},{"source":"GHSA","status":"available","checkedAt":"2026-10-29T22:30:33.164Z","attemptedAt":"2026-10-29T22:30:33.164Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-29T22:30:32.747Z","attemptedAt":"2026-10-29T22:30:32.747Z"},{"source":"EPSS","status":"available","checkedAt":"2026-10-29T22:30:32.705Z","attemptedAt":"2026-10-29T22:30:32.705Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-67214","url":"https://www.first.org/epss/","probability":0.0033,"percentile":0.26092,"date":"2026-10-29","checkedAt":"2026-10-29T22:30:32.705Z"},{"source":"ENISA EUVD","id":"EUVD-2026-50326","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-50326","modified":"Oct 29, 2026, 9:16:30 PM","score":8.2,"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","checkedAt":"2026-10-29T22:30:32.747Z"},{"source":"NVD","id":"CVE-2026-67214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67214","modified":"2026-10-29T21:17:29.870","score":8.2,"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","checkedAt":"2026-10-29T22:30:33.021Z"},{"source":"NVD","id":"CVE-2026-67214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67214","modified":"2026-10-29T21:17:29.870","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-10-29T22:30:33.021Z"},{"source":"NVD","id":"CVE-2026-67214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67214","modified":"2026-10-29T21:17:29.870","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-10-29T22:30:33.021Z"},{"source":"GitHub Advisory Database","id":"GHSA-28wg-ghj8-5hjv","url":"https://github.com/advisories/GHSA-28wg-ghj8-5hjv","modified":"2026-08-07T20:53:01Z","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-10-29T22:30:33.164Z"}],"aiSummary":{"text":"nanoid before 3.3.16 and 5.1.16 has an infinite loop in its non-secure module when given a negative size, potentially causing a denial-of-service condition if an attacker-controlled negative size is passed to the customAlphabet or nanoid functions. The affected versions are those less than 3.3.16 and 5.1.16. An application is exposed if it passes an unvalidated, attacker-controlled negative size to these functions.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:29:18.042Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-67214"}]}}