---
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
  - CWE-770
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'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77301.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-77301'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2539017'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-77301'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77301'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86675'
tags:
  - nvd
  - ghsa
  - npm
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00609
epssPercentile: 0.48955
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'
scores:
  nvd: 7.5
  vendor: 6.5
---

## 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

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 8, Red Hat Fuse 7, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Fuse 7, Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 8, … · updated 2026-10-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77301.json)
- **RHSA-2026:86675** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.2 · released 2026-10-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:86675)
