CVE-2026-92000
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 denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.7
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 denial of service.
- Record
CVE-2026-92000- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-409
- Updated
- 2026-11-02
EUVDEUVD-2026-80001
8.7
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 denial of service.
- Record
EUVD-2026-80001- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c6fg-446q-cg94
5.3
adm-zip: getDataAsync() bypasses the maxOutputLength size guard enforced by the synchronous getData() path
Summary
adm-zip enforces a maxOutputLength guard against decompression bombs on its synchronous getData() path, but the equivalent asynchronous getDataAsync() path does not enforce it — it accumulates and returns the entire decompressed output regardless of the entry's declared size. An application that checks an entry's declared size before deciding to process it, then reads the entry via getDataAsync() (a completely ordinary, often-recommended choice for I/O in Node.js), gets none of the protection it believes it has.
Details
methods/inflater.js:3-10passes{maxOutputLength: expectedLength}toinflateRawSync, which Node enforces.methods/inflater.js:12-31passes the same option tocreateInflateRawbut never enforces it on the streaming path — it just accumulates every chunk and allocates a final Buffer of whatever size resulted.
PoC
const AdmZip = require('adm-zip');
const zip = new AdmZip();
zip.addFile('p', Buffer.alloc(64 * 1024 * 1024, 0x41)); // 64 MiB
const raw = Buffer.from(zip.toBuffer());
// patch the local + central declared uncompressed size to 1 byte
raw.writeUInt32LE(1, localHeaderSizeOffset);
raw.writeUInt32LE(1, centralHeaderSizeOffset);
const entry = new AdmZip(raw).getEntry('p');
entry.getData();
// throws: ERR_BUFFER_TOO_LARGE: Cannot create a Buffer larger than 1 bytes
entry.getDataAsync((data, error) => { ... });
// returns the full 67,108,864-byte buffer, error is undefined
Impact
An application that validates a declared size before reading an entry, then uses the async API, gets no protection against a high-ratio DEFLATE payload. Repeated or larger requests could contribute to memory exhaustion.
- Record
GHSA-c6fg-446q-cg94- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-770
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-ffxc-vw9f-x2cp
8.7
adm-zip versions 0.5.14 through 0.6.0 fail to apply zlib decompression output limits when ZIP...
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 denial of service.
- Record
GHSA-ffxc-vw9f-x2cp- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-409
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rcw4-f5rp-g42v
7.5
adm-zip: Decompression-bomb protection (fix for CVE-2026-39244) can be bypassed by declaring uncompressed size as 0
Affected package: adm-zip (npm) Affected version: 0.6.0
Summary
The fix shipped for CVE-2026-39244 (methods/inflater.js) caps zlib's decompression output via maxOutputLength: expectedLength, where expectedLength is read directly from the ZIP entry's attacker-controlled "uncompressed size" header field (CENLEN/LOCLEN). This cap is only applied when expectedLength > 0:
const option = version >= 15 && expectedLength > 0 ? { maxOutputLength: expectedLength } : {};
return zlib.inflateRawSync(inbuf, option);
If an attacker sets the declared uncompressed-size field to exactly 0, this condition is false, option becomes {}, and no output cap is passed to zlib at all. Node then falls back to zlib's own internal default limit (several GB), so a small, highly-compressible payload can still be decompressed to a very large size in memory -- the same class of resource-exhaustion issue the original CVE addressed, just triggered differently.
Steps to Reproduce
- Build a ZIP archive containing one DEFLATE-compressed entry whose real content is highly redundant (e.g. several MB of a repeated byte, achieving close to the ~1032:1 theoretical raw-DEFLATE compression ratio).
- Patch the entry's declared uncompressed-size fields (both the local file header copy and the central directory copy, 4-byte little-endian values) to
0. The compressed bytes and CRC32 are left untouched -- CRC validation still passes because CRC is computed over the real decompressed output, not the declared size. - Load the archive with
new AdmZip(buffer)and call.getEntries()[0].getData()(orreadFile/readAsText/extractAllTo/etc. -- all share the same code path). - Observe: decompression succeeds and returns the full-size buffer with no size restriction applied, whereas the same real data with an honest (but undersized) declared value correctly throws
Cannot create a Buffer larger than N bytes.
Proof of Concept
Attached script demonstrates a controlled A/B comparison using the identical real payload in both cases -- only the declared-size header field differs:
- Control (declared size = 1024 bytes, deliberately smaller than the true 4MB output): correctly throws, proving the cap mechanism works when
expectedLength > 0. - Bypass (declared size = 0, identical real payload): succeeds and returns the full 4,194,304-byte buffer with zero restriction.
Verified reproducible across 3 independent runs.
Impact
Any application that calls adm-zip's read/extract methods on an untrusted ZIP file (upload handlers, CI artifact extraction, email attachment scanning, etc.) can be made to allocate an amount of memory bounded only by zlib's own internal default rather than any limit the application or adm-zip intends -- a small (tens-of-MB) upload can trigger multi-GB memory consumption, risking process crash/OOM.
Suggested Fix
Apply maxOutputLength unconditionally (e.g. defaulting to a sane absolute ceiling, or always passing the declared size regardless of whether it's 0), and/or add an independent compression-ratio check that doesn't rely solely on the attacker-supplied size field.
- Record
GHSA-rcw4-f5rp-g42v- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-409
- Updated
- 2026-11-02
NVD
8.7
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 denial of service.
- Record
CVE-2026-92000- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-409
- Updated
- 2026-11-02
Show 11 moreShow less
OSV
8.7
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 denial of service.
- Record
CVE-2026-92000- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-409
- Updated
- 2026-11-02
OSVGHSA-c6fg-446q-cg94
5.3
adm-zip: getDataAsync() bypasses the maxOutputLength size guard enforced by the synchronous getData() path
Summary
adm-zip enforces a maxOutputLength guard against decompression bombs on its synchronous getData() path, but the equivalent asynchronous getDataAsync() path does not enforce it — it accumulates and returns the entire decompressed output regardless of the entry's declared size. An application that checks an entry's declared size before deciding to process it, then reads the entry via getDataAsync() (a completely ordinary, often-recommended choice for I/O in Node.js), gets none of the protection it believes it has.
Details
methods/inflater.js:3-10passes{maxOutputLength: expectedLength}toinflateRawSync, which Node enforces.methods/inflater.js:12-31passes the same option tocreateInflateRawbut never enforces it on the streaming path — it just accumulates every chunk and allocates a final Buffer of whatever size resulted.
PoC
const AdmZip = require('adm-zip');
const zip = new AdmZip();
zip.addFile('p', Buffer.alloc(64 * 1024 * 1024, 0x41)); // 64 MiB
const raw = Buffer.from(zip.toBuffer());
// patch the local + central declared uncompressed size to 1 byte
raw.writeUInt32LE(1, localHeaderSizeOffset);
raw.writeUInt32LE(1, centralHeaderSizeOffset);
const entry = new AdmZip(raw).getEntry('p');
entry.getData();
// throws: ERR_BUFFER_TOO_LARGE: Cannot create a Buffer larger than 1 bytes
entry.getDataAsync((data, error) => { ... });
// returns the full 67,108,864-byte buffer, error is undefined
Impact
An application that validates a declared size before reading an entry, then uses the async API, gets no protection against a high-ratio DEFLATE payload. Repeated or larger requests could contribute to memory exhaustion.
- Record
GHSA-c6fg-446q-cg94- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-770
- Updated
- 2026-11-02
OSVGHSA-rcw4-f5rp-g42v
7.5
adm-zip: Decompression-bomb protection (fix for CVE-2026-39244) can be bypassed by declaring uncompressed size as 0
Affected package: adm-zip (npm) Affected version: 0.6.0
Summary
The fix shipped for CVE-2026-39244 (methods/inflater.js) caps zlib's decompression output via maxOutputLength: expectedLength, where expectedLength is read directly from the ZIP entry's attacker-controlled "uncompressed size" header field (CENLEN/LOCLEN). This cap is only applied when expectedLength > 0:
const option = version >= 15 && expectedLength > 0 ? { maxOutputLength: expectedLength } : {};
return zlib.inflateRawSync(inbuf, option);
If an attacker sets the declared uncompressed-size field to exactly 0, this condition is false, option becomes {}, and no output cap is passed to zlib at all. Node then falls back to zlib's own internal default limit (several GB), so a small, highly-compressible payload can still be decompressed to a very large size in memory -- the same class of resource-exhaustion issue the original CVE addressed, just triggered differently.
Steps to Reproduce
- Build a ZIP archive containing one DEFLATE-compressed entry whose real content is highly redundant (e.g. several MB of a repeated byte, achieving close to the ~1032:1 theoretical raw-DEFLATE compression ratio).
- Patch the entry's declared uncompressed-size fields (both the local file header copy and the central directory copy, 4-byte little-endian values) to
0. The compressed bytes and CRC32 are left untouched -- CRC validation still passes because CRC is computed over the real decompressed output, not the declared size. - Load the archive with
new AdmZip(buffer)and call.getEntries()[0].getData()(orreadFile/readAsText/extractAllTo/etc. -- all share the same code path). - Observe: decompression succeeds and returns the full-size buffer with no size restriction applied, whereas the same real data with an honest (but undersized) declared value correctly throws
Cannot create a Buffer larger than N bytes.
Proof of Concept
Attached script demonstrates a controlled A/B comparison using the identical real payload in both cases -- only the declared-size header field differs:
- Control (declared size = 1024 bytes, deliberately smaller than the true 4MB output): correctly throws, proving the cap mechanism works when
expectedLength > 0. - Bypass (declared size = 0, identical real payload): succeeds and returns the full 4,194,304-byte buffer with zero restriction.
Verified reproducible across 3 independent runs.
Impact
Any application that calls adm-zip's read/extract methods on an untrusted ZIP file (upload handlers, CI artifact extraction, email attachment scanning, etc.) can be made to allocate an amount of memory bounded only by zlib's own internal default rather than any limit the application or adm-zip intends -- a small (tens-of-MB) upload can trigger multi-GB memory consumption, risking process crash/OOM.
Suggested Fix
Apply maxOutputLength unconditionally (e.g. defaulting to a sane absolute ceiling, or always passing the declared size regardless of whether it's 0), and/or add an independent compression-ratio check that doesn't rely solely on the attacker-supplied size field.
- Record
GHSA-rcw4-f5rp-g42v- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-409
- Updated
- 2026-11-02
OSVROOT-APP-NPM-GHSA-rcw4-f5rp-g42v
7.5
GHSA-rcw4-f5rp-g42v in adm-zip - Patched by Root
Root has patched GHSA-rcw4-f5rp-g42v in the adm-zip package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-GHSA-rcw4-f5rp-g42v- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-06
OSVCLSA-2026-1790718594 No score
TuxCare security update for adm-zip (1 CVE)
TuxCare rebuilt adm-zip to address 1 CVE. Fixed in 0.5.18-tuxcare.4.
- Record
CLSA-2026-1790718594- Updated
- 2026-11-02
OSVCLSA-2026-1791979104 No score
TuxCare security update for adm-zip (2 CVEs)
TuxCare rebuilt adm-zip to address 2 CVEs. Fixed in 0.4.4-tuxcare.5.
- Record
CLSA-2026-1791979104- Updated
- 2026-11-02
OSVCLSA-2026-1791979197 No score
TuxCare security update for adm-zip (2 CVEs)
TuxCare rebuilt adm-zip to address 2 CVEs. Fixed in 0.4.7-tuxcare.4.
- Record
CLSA-2026-1791979197- Updated
- 2026-11-02
OSVCLSA-2026-1791980535 No score
TuxCare security update for adm-zip (2 CVEs)
TuxCare rebuilt adm-zip to address 2 CVEs. Fixed in 0.4.16-tuxcare.3.
- Record
CLSA-2026-1791980535- Updated
- 2026-11-02
OSVCLSA-2026-1791981819 No score
TuxCare security update for adm-zip (4 CVEs)
TuxCare rebuilt adm-zip to address 4 CVEs. Fixed in 0.5.10-tuxcare.5.
- Record
CLSA-2026-1791981819- Updated
- 2026-11-02
OSVCLSA-2026-1791989313 No score
TuxCare security update for adm-zip (4 CVEs)
TuxCare rebuilt adm-zip to address 4 CVEs. Fixed in 0.5.12-tuxcare.4.
- Record
CLSA-2026-1791989313- Updated
- 2026-11-02
OSVCLSA-2026-1793986304 No score
TuxCare security update for adm-zip (2 CVEs)
TuxCare rebuilt adm-zip to address 2 CVEs. Fixed in 0.5.17-tuxcare.5.
- Record
CLSA-2026-1793986304- Updated
- 2026-11-07
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
adm-zipnpm |
through 0.6.0 | 0.6.1 |
adm-zipTuxCare:npm |
0.5.18-tuxcare.0 up to 0.5.18-tuxcare.4, plus listed versions 0.5.180.5.18-tuxcare.10.5.18-tuxcare.20.5.18-tuxcare.3 |
0.5.18-tuxcare.4 |
adm-zipTuxCare:npm |
0.4.4-tuxcare.0 up to 0.4.4-tuxcare.5, plus listed versions 0.4.40.4.4-tuxcare.10.4.4-tuxcare.20.4.4-tuxcare.30.4.4-tuxcare.4 |
0.4.4-tuxcare.5 |
adm-zipTuxCare:npm |
0.4.7-tuxcare.0 up to 0.4.7-tuxcare.4, plus listed versions 0.4.70.4.7-tuxcare.10.4.7-tuxcare.20.4.7-tuxcare.3 |
0.4.7-tuxcare.4 |
adm-zipTuxCare:npm |
0.4.16-tuxcare.0 up to 0.4.16-tuxcare.3, plus listed versions 0.4.160.4.16-tuxcare.10.4.16-tuxcare.2 |
0.4.16-tuxcare.3 |
adm-zipTuxCare:npm From an advisory covering 2 CVEs |
0.5.10-tuxcare.0 up to 0.5.10-tuxcare.5, plus listed versions 0.5.100.5.10-tuxcare.10.5.10-tuxcare.20.5.10-tuxcare.30.5.10-tuxcare.4 |
0.5.10-tuxcare.5 |
adm-zipTuxCare:npm From an advisory covering 3 CVEs |
0.5.12-tuxcare.0 up to 0.5.12-tuxcare.4, plus listed versions 0.5.120.5.12-tuxcare.10.5.12-tuxcare.20.5.12-tuxcare.3 |
0.5.12-tuxcare.4 |
adm-zipTuxCare:npm From an advisory covering 2 CVEs |
0.5.17-tuxcare.0 up to 0.5.17-tuxcare.5, plus listed versions 0.5.170.5.17-tuxcare.10.5.17-tuxcare.20.5.17-tuxcare.30.5.17-tuxcare.4 |
0.5.17-tuxcare.5 |
adm-zipnpm |
before 0.6.1 | 0.6.1 |
adm-zipRoot:npm |
before 0.6.0-aikido.2 | 0.6.0-aikido.20.6.0-aikido.30.5.10-aikido.40.5.10-aikido.50.5.9-aikido.20.5.18-aikido.30.5.9-aikido.3 |
@rootio/adm-zipRoot:npm |
before 0.6.0-root.io.2 | 0.6.0-root.io.20.6.0-root.io.30.5.10-root.io.40.5.10-root.io.50.5.9-root.io.20.5.18-root.io.30.5.9-root.io.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, cwes, references | ||
| affected, aliases | OSV | |
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-92000 is a high vulnerability (CVSS 8.7) in Cthackers Adm-zip, published September 15, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. Fixed in adm-zip 0.6.1.
References
github.com/cthackers/adm-zip/security/advisories/GHSA-rcw4-f5rp-g42v
github.com/cthackers/adm-zip/commit/491600683dacb6cb9fe0718a0eeb9cb5eb49afa6
github.com/cthackers/adm-zip/commit/8bc411184de1b5ca28138c53074fb61119994dde
github.com/cthackers/adm-zip/blob/v0.6.0/methods/inflater.js
github.com/cthackers/adm-zip
vulncheck.com/advisories/adm-zip-0.5.14-through-0.6.0-denial-of-service-via-zero-declared-uncompressed-size
Show 8 moreShow less
github.com/cthackers/adm-zip/security/advisories/GHSA-c6fg-446q-cg94
github.com/cthackers/adm-zip/releases/tag/v0.6.1
github.com/advisories/GHSA-c6fg-446q-cg94
nvd.nist.gov/vuln/detail/CVE-2026-92000
github.com/advisories/GHSA-ffxc-vw9f-x2cp
github.com/advisories/GHSA-rcw4-f5rp-g42v
npmjs.com/package/adm-zip
github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92000.json