adm-zip vulnerabilities

Javascript implementation of zip for nodejs with support for electron original-fs. Allows user to create or extract zip files both in memory or to/from disk

Registry
npm
Latest
0.6.1
License
MIT

9 known advisories

The latest version, 0.6.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install adm-zip@0.6.1

Security advisories for adm-zip

  • MediumGHSA-p634-w6r4-rjp229 Sept 2026

    adm-zip: Duplicate ZIP entry names: getEntry() and extractAllTo() resolve to different content

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • MediumGHSA-c6fg-446q-cg9429 Sept 2026

    adm-zip: getDataAsync() bypasses the maxOutputLength size guard enforced by the synchronous getData() path

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • HighGHSA-8238-w5pm-237429 Sept 2026

    adm-zip: Unhandled error event in async DEFLATE decompression crashes Node.js process (DoS)

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • HighGHSA-rcw4-f5rp-g42v29 Sept 2026

    adm-zip: Decompression-bomb protection (fix for CVE-2026-39244) can be bypassed by declaring uncompressed size as 0

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • HighGHSA-j5f4-cc29-5x4429 Sept 2026

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

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • HighGHSA-7q85-xj36-vmfc18 Sept 2026

    adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)

    Affected
    <0.6.1
    Fixed in
    0.6.1
  • MediumGHSA-vwc7-r8mq-g2x924 Aug 2026

    adm-zip extraction follows destination symlinks, allowing arbitrary file overwrite

    Affected
    >=0.5.9 <=0.6.0
    Fixed in
    No fix released
  • HighGHSA-xcpc-8h2w-3j8510 Jul 2026

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

    Affected
    <0.6.0
    Fixed in
    0.6.0
  • MediumGHSA-3v6h-hqm4-2rg627 Jul 2018

    Arbitrary File Write in adm-zip

    Affected
    <0.4.11
    Fixed in
    0.4.11

Which of your client projects still run an old adm-zip?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.