Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49
- https://github.com/cthackers/adm-zip/releases/tag/v0.6.1
- https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc
- https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc
FAQ
What is CVE-2026-77301?
CVE-2026-77301 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-77301?
CVE-2026-77301 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-77301?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.