Skip to main content
← All vulnerabilities
CVE-2026-77301GHSA-7Q85-XJ36-VMFC

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.6.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cthackers adm-zip

    fixed in 0.6.1

  • adm-zipnpm

    fixed in 0.6.1

References 3

GitHub · cthackers/adm-zip