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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 43% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T16:38:47.064Z
- Modified: 2026-09-24T21:16:28.120Z
- Also known as: GHSA-7q85-xj36-vmfc
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- cthackers adm-zip: < 0.6.1
- adm-zip (npm): before 0.6.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc> (exploit, web)
- <https://github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49afa6> (web)
- <https://github.com/cthackers/adm-zip/releases/tag/v0.6.1> (web)
- <https://github.com/cthackers/adm-zip> (package)

## Sources

- CVE List: [CVE-2026-77301](https://www.cve.org/CVERecord?id=CVE-2026-77301), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-7q85-xj36-vmfc](https://github.com/advisories/GHSA-7q85-xj36-vmfc), CC-BY-4.0, modified 2026-09-18
- NVD: [CVE-2026-77301](https://nvd.nist.gov/vuln/detail/CVE-2026-77301), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-77301 · Whole record: https://cve.day/CVE-2026-77301.json · Rebuilt by cve.day 2026-11-25T22:59:39.635Z
