Unchecked Input for Loop Condition Affecting fflate package, versions >=0.4.5


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.76% (57th 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-23401432
  • published3 Dec 2026
  • disclosed2 Dec 2026
  • creditZachariah Mithani

Introduced: 2 Dec 2026

NewCVE-2026-142183  (opens in a new tab)
CWE-606  (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 Unchecked Input for Loop Condition n the unzipSync and unzip functions. An attacker can block the JavaScript event loop for extended periods by submitting a ZIP archive whose ZIP64 end-of-central-directory record declares a large 32-bit entry count, which the parser uses directly to drive its central-directory iteration without validating it against the archive's actual size. A roughly 100-byte archive is sufficient to trigger tens of minutes of blocking, since each iteration still performs real work even when no corresponding entry data exists.

CVSS Base Scores

version 4.0
version 3.1