Memory Allocation with Excessive Size Value Affecting adm-zip package, versions <0.6.1


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.41% (36th 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-ADMZIP-19963965
  • published20 Sept 2026
  • disclosed18 Sept 2026
  • creditJosé Antonio Zamudio Amaya

Introduced: 18 Sep 2026

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

How to fix?

Upgrade adm-zip to version 0.6.1 or higher.

Overview

adm-zip is a JavaScript implementation for zip data compression for NodeJS.

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the async decompression path in methods/inflater.js, where the decompression size cap enforced by zlib's maxOutputLength option is not applied to the streaming API. An attacker can supply a zip archive whose entries declare a small or zero uncompressed size but contain a large compressed payload (a decompression bomb), causing unbounded memory growth and a crash of the host process. Additionally, a declared size of 0 previously disabled the cap entirely on the synchronous path, allowing the same class of attack through entries that lie about their size.

CVSS Base Scores

version 4.0
version 3.1