Bug 2508406 (CVE-2026-67213) - CVE-2026-67213 nanoid: nanoid: Denial of Service via infinite loop in random ID generation
Summary: CVE-2026-67213 nanoid: nanoid: Denial of Service via infinite loop in random ...
Keywords:
Status: NEW
Alias: CVE-2026-67213
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2522002 2522003 2522007 2522008 2522010 2522011 2522012 2522013 2522014 2522015 2522016 2522017 2522018 2522021 2522024 2522025 2522026 2522027 2522029 2522030 2522031 2522032 2522033 2522034 2522035 2522036 2522037 2522038 2522039 2522040 2522041 2522004 2522006 2522009 2522019 2522020 2522022 2522023 2522028
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-26 19:07 UTC (History)
143 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-29 14:01:32 UTC
nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.


Note You need to log in before you can comment on or make changes to this bug.