Skip to content
OpenAdvisories

Package · npm

adm-zip

9 known vulnerabilities.

9 results · Feed

  • Medium 5.9

    adm-zip before 0.6.1 Duplicate ZIP Entry Name Validation Bypass

    adm-zip before 0.6.1 contains an inconsistent entry resolution vulnerability that allows attackers to bypass content validation by supplying ZIP archives with duplicate entry names. Attackers can craft archives where getEntry() returns the last duplicate whil…

  • Medium 5.3

    adm-zip 0.6.0 Decompression Bomb Guard Bypass via getDataAsync()

    adm-zip 0.6.0 contains a decompression bomb protection bypass that allows attackers to evade the maxOutputLength guard by targeting the asynchronous getDataAsync() path in methods/inflater.js. Attackers can craft ZIP entries with falsified small declared size…

  • High 7.5
    CVE-2026-114102 Public exploit

    adm-zip before 0.6.1 Denial of Service via inflateAsync Unhandled Error Event

    adm-zip before 0.6.1 contains a denial of service vulnerability that allows unauthenticated attackers to crash the Node.js process via a malformed ZIP file, because inflateAsync in methods/inflater.js lacks a zlib stream error listener. Attackers can supply a…

  • High 7.1
    CVE-2026-102282 Public exploit

    adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation

    adm-zip is a JavaScript library for creating and extracting ZIP archives in Node.js. Prior to 0.6.1, adm-zip applies the Unix permission bits stored in a zip entry directly to the extracted file via `fs.chmodSync()` when `keepOriginalPermission=true` is passe…

  • High 7.5

    adm-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 com…

  • High 7.5

    adm-zip 0.5.14 through 0.6.0 Denial of Service via Zero Declared Uncompressed Size

    adm-zip versions 0.5.14 through 0.6.0 fail to apply zlib decompression output limits when ZIP entries declare zero uncompressed size. Attackers can craft malicious ZIP archives with highly compressible entries declaring zero size to exhaust memory and cause d…

  • Medium 6.5

    adm-zip 0.5.9 through 0.6.0 Arbitrary File Overwrite via Symlink Following on Extraction

    adm-zip 0.5.9 through 0.6.0 follows symbolic links at the extraction destination. Utils.sanitize in util/utils.js enforces containment by comparing only the string form of an archive entry name against the resolved extraction root, and Utils.writeFileTo opens…

  • High 7.5

    adm-zip: Crafted ZIP file triggers 4GB memory allocation

    adm-zip before 0.5.18 is vulnerable to denial of service via a crafted ZIP file with a manipulated uncompressed size header field. In zipEntry.js line 103, Buffer.alloc(_centralHeader.size) allocates memory based on the declared uncompressed size from the ZIP…

  • Medium 5.5
    CVE-2018-1002204 EPSS 13%

    Arbitrary File Write in adm-zip

    adm-zip npm library before 0.4.9 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.