adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) (cthackers adm-zip)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 45 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- cthackers · adm-zip
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-789 — Memory Allocation with Excessive Size Value
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | GitHub_M |
| 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 | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-7q85-xj36-vmfc — adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)
European references
- ENISA EUVD · EUVD-2026-83170
- GCVE · GCVE-0-2026-77301
CERT-FR advisories
- CERTFR-2026-AVI-1576 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| cthackers · adm-zip | affected : < 0.6.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |