Skip to main content
← All vulnerabilities
CVE-2026-119051EUVD-2026-112817GHSA-476F-8CCP-82XP

flat through 6.0.1 Denial of Service via unflatten() Numeric Array Index Keys

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

The flat npm package (versions up to 6.0.1, with versions omitted here) is affected. An attacker who can supply crafted keys to its unflatten() function can make it build huge sparse arrays, which then stalls the Node.js event loop and causes a denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

flat through 6.0.1 contains an uncontrolled resource allocation vulnerability in unflatten() that allows attackers to create huge sparse arrays via unbounded numeric keys. Attackers can supply flattened keys such as a.4294967294, causing iteration with forEach, spread or JSON.stringify to block the Node.js event loop.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • hughsk flat

    through 6.0.1

References 5

GitHub · hughsk/flat

vulncheck.com