{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-67214","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-07-28T18:13:39.684Z","datePublished":"2026-07-29T13:32:02.265Z","dateUpdated":"2026-08-19T20:26:45.093Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-08-19T20:26:45.093Z"},"title":"nanoid Infinite Loop via Negative Size in non-secure module","descriptions":[{"lang":"en","value":"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."}],"datePublic":"2026-06-24T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-835","description":"Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"affected":[{"vendor":"nanoid_project","product":"nanoid","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"5.1.16"},{"version":"5.1.16","status":"unaffected","versionType":"semver"},{"status":"affected","version":"0","versionType":"semver","lessThan":"3.3.16"},{"status":"unaffected","version":"3.3.16","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.1.16"},{"vulnerable":true,"criteria":"cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.3.16"}]}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.2,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"references":[{"url":"https://github.com/ai/nanoid/releases/tag/5.1.16","tags":["release-notes"],"name":"v5.1.16 Release Notes"},{"name":"v3.3.16 Release Notes","tags":["release-notes"],"url":"https://github.com/ai/nanoid/releases/tag/3.3.16"},{"url":"https://github.com/ai/nanoid/commit/6ccc67bbaba71d3d77a21d9b636f4171a268ce49","name":"Fix Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/nanoid-before-infinite-loop-via-negative-size-in-non-secure-module","name":"VulnCheck Advisory","tags":["third-party-advisory"]}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-29T14:37:09.751333Z","id":"CVE-2026-67214","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-29T14:37:19.382Z"}}]}}