Bug 2508411 (CVE-2026-67214) - CVE-2026-67214 nanoid: nanoid: Denial of Service via negative size input in non-secure module functions
Summary: CVE-2026-67214 nanoid: nanoid: Denial of Service via negative size input in n...
Keywords:
Status: NEW
Alias: CVE-2026-67214
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: 2523451 2523452 2523453 2523454 2523456 2523457 2523458 2523459 2523460 2523463 2523464 2523465 2523466 2523467 2523469 2523470 2523471 2523473 2523474 2523476 2523477 2523479 2523480 2523481 2523482 2523483 2523484 2523485 2523486 2523487 2523488 2523489 2523449 2523450 2523455 2523461 2523462 2523472 2523478
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-26 15:50 UTC (History)
144 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-29 14:01:51 UTC
nanoid (Nano ID) before 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.


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