Memory Allocation with Excessive Size Value Affecting fflate package, versions >=0.4.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (23rd 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 IDSNYK-JS-FFLATE-22392372
  • published10 Nov 2026
  • disclosed5 Nov 2026
  • creditictrun

Introduced: 5 Nov 2026

NewCVE-2026-122146  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

There is no fixed version for fflate.

Overview

fflate is a High performance (de)compression in an 8kB package

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the unzipSync function in src/index.ts. An attacker can supply a crafted ZIP archive whose entry declares an extremely large uncompressed size, causing unzipSync to allocate an enormous output buffer and exhaust the application’s memory. The supported impact is memory exhaustion, which can make the application fail during extraction.

CVSS Base Scores

version 4.0
version 3.1