Skip to main content
VulnerabilityPublished

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

Affects adm-zipSource GCVE Database

0

Mentioned vulnerabilities

CVSS 7.5 High : upgrade to 0.6.1 soon.

Data as of 29 Sep 2026, 21:21 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade adm-zip to 0.6.1.

Affected software

ProductAffectedFixed in
npmadm-zipAffected
  • <0.6.1
Fixed in
  • 0.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for adm-zip that fixes this vulnerability by ensuring the decompression output size limit is applied regardless of the declared uncompressed size value. Users should upgrade to a fixed version (>=0.6.1) once available. Until patched, avoid processing untrusted ZIP files with adm-zip 0.6.0 or implement additional input validation to reject ZIP entries with a declared uncompressed size of zero.

Description

A vulnerability in adm-zip version 0.6.0 allows bypassing decompression-bomb protection by setting the declared uncompressed size in a ZIP entry to zero. This causes the decompression output size limit to be ignored, potentially leading to excessive memory allocation and process crashes. The issue arises because the decompression cap is only applied when the declared size is greater than zero. A patch is available to address this flaw.

References

Community reviews

Loading reviews…