Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. adm-zip
  4. ›
  5. CVE-2026-77301

CVE-2026-77301: adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)

September 18, 2026

adm-zip allocates an entry’s output buffer from the declared uncompressed size (central-directory size field) before validating it against the actual data. A tiny crafted ZIP that declares a huge uncompressed size forces a multi-gigabyte allocation from a few bytes.

References

  • github.com/advisories/GHSA-7q85-xj36-vmfc
  • github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49afa6
  • github.com/cthackers/adm-zip/releases/tag/v0.6.1
  • github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc
  • nvd.nist.gov/vuln/detail/CVE-2026-77301

Code Behaviors & Features

Detect and mitigate CVE-2026-77301 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.1

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Source file

npm/adm-zip/CVE-2026-77301.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:55 +0000.