Medium severity5.9NVD Advisory· Published Oct 29, 2026
CVE-2026-119051
CVE-2026-119051
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.
Patches
Vulnerability mechanics
References
4- github.com/hughsk/flat/blob/1d68e1d06c0210cff31e5c61ac177f3e2d3fa564/index.jsnvd
- github.com/hughsk/flat/blob/1d68e1d06c0210cff31e5c61ac177f3e2d3fa564/index.jsnvd
- github.com/hughsk/flat/issues/195nvd
- www.vulncheck.com/advisories/flat-through-6.0.1-denial-of-service-via-unflatten-numeric-array-index-keysnvd
News mentions
0No linked articles in our index yet.