CVE-2026-119051 flat through 6.0.1 Denial of Service via unflatten() Numeric Array Index Keys
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-119051?
CVE-2026-119051 is a high-severity vulnerability in hughsk flat, published on 29 Oct 2026.
Official 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.
Weakness: CWE-770
Which versions are affected by CVE-2026-119051?
How do I fix CVE-2026-119051?
No fix has been published for CVE-2026-119051 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-119051 being exploited?
There is no known exploitation of CVE-2026-119051 in the wild and no public exploit code.
Sources
Also known as GHSA-476f-8ccp-82xp.