Allocation of Resources Without Limits or Throttling Affecting flat package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FLAT-22148819
  • published3 Nov 2026
  • disclosed29 Oct 2026
  • creditYu Bao

Introduced: 29 Oct 2026

NewCVE-2026-119051  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

There is no fixed version for flat.

Overview

flat is a Take a nested Javascript object and flatten it, or unflatten an object with delimited keys

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via unflatten(), which creates huge sparse arrays when processing flattened objects whose keys contain unbounded numeric indices. An attacker can supply keys such as a.4294967294, causing the resulting sparse array to consume excessive memory, and subsequent iteration with forEach, spread, or JSON.stringify to block the Node.js event loop.

CVSS Base Scores

version 4.0
version 3.1