{"id":"CVE-2026-77301","published":"2026-09-18T16:38:47Z","modified":"2026-09-18T17:11:11Z","title":"adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)","vendor":"cthackers","product":"adm-zip","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00609,"percentile":0.5012,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/cthackers/adm-zip/security/advisories/GHSA-7q85-xj36-vmfc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49afa6","tags":["x_refsource_MISC"]},{"url":"https://github.com/cthackers/adm-zip/releases/tag/v0.6.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.02},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cthackers","affectedVersions":[{"vendor":"cthackers","product":"adm-zip","versions":["< 0.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-18T17:10:44.379627Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"adm-zip","vulnerableRanges":["<0.6.1"],"patched":["0.6.1"],"from":["GHSA-7q85-xj36-vmfc"],"provenance":"source"}],"summary":{"text":"The adm-zip library for Node.js has an uncontrolled memory allocation flaw in its zipEntry.js getData() function: it trusts the uncompressed size declared in a ZIP entry's central directory and allocates output memory before checking that value against the actual data. An attacker who can supply a small, crafted ZIP archive to an application that reads entries from untrusted archives, with no authentication or user interaction required, can cause the process to commit excessive memory and be terminated or exhaust memory across the service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:12Z"},"euvd":{"id":"EUVD-2026-83170","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-1002204","published":"2018-07-25","fixed":"0.4.11","kev":false},{"cve":"CVE-2026-39244","published":"2026-07-10","fixed":"0.6.0","kev":false,"link":{"from":"CVE-2026-39244","to":"CVE-2026-77301","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:adm-zip","fromFixed":"0.6.0","toFixed":"0.6.1","daysApart":70}]}},{"cve":"CVE-2026-102282","published":"2026-10-05","fixed":"0.6.1","kev":false},{"cve":"CVE-2026-77301","published":"2026-09-18","fixed":"0.6.1","kev":false}],"package":"npm:adm-zip"}}