All vulnerabilities

npm

CVE-2026-119051

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

Severity
High 8.2
Published
29 Oct 2026
Last changed
3 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
flatnpm · osv:npm:flat
  • Every version up to 6.0.1

About flat

Weekly downloads (npm)
37,018,943npm, 24 Nov 2026

This is the only vulnerability in flat in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119051