CVE-2026-77301
HIGH 7.5CVSS 3.1adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)
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.
- Published
- 18 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-789
- Also known as
- GHSA-7q85-xj36-vmfc
- Sources
- NVDJSONOSV GHSA-7q85-xj36-vmfcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | adm-zip | < 0.6.1 | 0.6.1 |
References
- 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/security/advisories/GHSA-7q85-xj36-vmfc · WEB
- https://github.com/cthackers/adm-zip · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 18 Sep 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Sep 2026)