Bug 2522017 - CVE-2026-67213 firefox: nanoid: Denial of Service via infinite loop in random ID generation [fedora-all]
Summary: CVE-2026-67213 firefox: nanoid: Denial of Service via infinite loop in random...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["94d50fa1-8b52-494e-b604-5...
Depends On:
Blocks: CVE-2026-67213
TreeView+ depends on / blocked
 
Reported: 2026-08-24 15:30 UTC by Joel Chamberlain
Modified: 2026-08-24 15:30 UTC (History)
7 users (show)

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


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-24 15:30:09 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.