Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-119051

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

hughsk flat

Default version status: unaffected

  • 0 to ≤ 6.0.1affected
pkg:npm/flat

References