---
id: CVE-2026-77301
title: >-
  adm-zip is a JavaScript library for creating and extracting ZIP archives in
  Node.js
summary: >-
  adm-zip is a JavaScript library for creating and extracting ZIP archives in
  Node.js. Prior to 0.6.1, getData() in zipEntry.js trusts an entry's
  central-directory uncompressed size and allocates output memory before
  validating that value …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
vendor: adm-zip
product: adm-zip
affected:
  - adm-zip < 0.6.1
patched:
  - adm-zip 0.6.1
published: '2026-09-18'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:16:28.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77301'
references:
  - url: >-
      https://github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49afa6
    label: security-advisories@github.com
  - url: 'https://github.com/cthackers/adm-zip/releases/tag/v0.6.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc
    label: security-advisories@github.com
  - url: >-
      https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-7q85-xj36-vmfc'
tags:
  - nvd
  - ghsa
  - npm
  - cve.org
  - exploit-available
epss: 0.00609
epssPercentile: 0.46841
aliases:
  - GHSA-7q85-xj36-vmfc
ecosystem: npm
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-18T17:10:44.379627Z'
ingestedAt: '2026-09-18T16:45:41.404Z'
---

## Overview

adm-zip is a JavaScript library for creating and extracting ZIP archives in Node.js. Prior to 0.6.1, getData() in zipEntry.js trusts an entry's central-directory uncompressed size and allocates output memory before validating that value against the actual compressed data and decompression result. A small crafted ZIP can declare a multi-gigabyte uncompressed size, causing Buffer.alloc and decompression handling to commit excessive resident memory before CRC validation reports an error. Applications that read entries from untrusted archives can therefore be terminated by the operating system or suffer service-wide memory exhaustion. This issue is fixed in version 0.6.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-77301)

Affected packages:

- `adm-zip < 0.6.1`

Patched in:

- `adm-zip 0.6.1`

Source: https://github.com/advisories/GHSA-7q85-xj36-vmfc
