Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114103 Overview
CVE-2026-114103 affects adm-zip version 0.6.0, a widely used Node.js library for ZIP archive handling. The vulnerability allows attackers to bypass the maxOutputLength decompression bomb protection by targeting the asynchronous getDataAsync() code path in methods/inflater.js. Attackers craft ZIP entries containing falsified small declared sizes paired with high-ratio DEFLATE payloads. When an application reads entries asynchronously, the guard fails to enforce the output limit, enabling memory exhaustion in the Node.js process. The flaw is tracked under CWE-400: Uncontrolled Resource Consumption.
Critical Impact
Remote attackers can trigger memory exhaustion and denial of service in any Node.js application that parses untrusted ZIP archives using adm-zip 0.6.0 async APIs.
Affected Products
- adm-zip version 0.6.0 (npm package)
- Node.js applications invoking getDataAsync() on untrusted ZIP input
- Downstream libraries and services bundling adm-zip 0.6.0 as a dependency
Discovery Timeline
- 2026-10-21 - CVE-2026-114103 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-114103
Vulnerability Analysis
The vulnerability resides in the methods/inflater.js component of adm-zip 0.6.0. The library implements a maxOutputLength guard intended to prevent decompression bombs by rejecting output that exceeds a configured threshold. The synchronous decompression path enforces this limit correctly, while the asynchronous getDataAsync() path does not.
Attackers exploit this inconsistency by submitting ZIP archives whose central directory declares a small uncompressed size but whose DEFLATE stream expands to gigabytes. Applications that process archive entries asynchronously allocate memory based on the actual inflated output, bypassing the guard. The result is heap growth that terminates the Node.js worker or exhausts host memory.
Root Cause
The root cause is incomplete enforcement of the output length check across both execution paths of the inflater. The async path reads and buffers decompressed chunks without comparing cumulative output against maxOutputLength. The declared size in the ZIP header is trusted rather than validated against the real decompressed byte count.
Attack Vector
Exploitation requires no authentication or user interaction. An attacker uploads or supplies a crafted ZIP file to any endpoint that invokes getDataAsync() on archive entries. File upload handlers, email attachment scanners, document converters, and build pipelines that unpack dependencies are all exposed. See the GitHub Security Advisory GHSA-c6fg-446q-cg94 and the VulnCheck Advisory on Decompression Bomb for technical details.
Detection Methods for CVE-2026-114103
Indicators of Compromise
- Node.js process termination events referencing JavaScript heap out of memory shortly after ZIP ingestion.
- Sudden container or pod restarts in services that call adm-zip async APIs on user-supplied archives.
- ZIP entries with declared uncompressed sizes under 1 KB but compressed payloads producing multi-gigabyte output.
Detection Strategies
- Inventory Node.js dependencies with npm ls adm-zip and flag any resolution to 0.6.0.
- Add runtime instrumentation around getDataAsync() call sites to log entry size ratios exceeding safe thresholds (for example, 100:1).
- Scan ZIP archives at ingress with external tooling that validates declared versus actual decompressed sizes before passing to application code.
Monitoring Recommendations
- Alert on Node.js resident set size (RSS) spikes correlated with archive upload endpoints.
- Track application restart counts and out-of-memory kill events in orchestration platforms such as Kubernetes.
- Monitor dependency manifests in CI/CD pipelines for the vulnerable adm-zip version and block builds that introduce it.
How to Mitigate CVE-2026-114103
Immediate Actions Required
- Identify all services using adm-zip 0.6.0 and prioritize those that process untrusted ZIP input.
- Replace calls to getDataAsync() with the synchronous getData() path where the guard is enforced, pending a patched release.
- Enforce strict upload size limits and reject archives whose declared uncompressed total exceeds application needs.
Patch Information
Refer to the GitHub Security Advisory GHSA-c6fg-446q-cg94 for the current patch status and upgrade guidance. Upgrade to a fixed release once published by the maintainers.
Workarounds
- Validate ZIP archives with an external tool before invoking adm-zip, confirming compression ratios stay within policy.
- Run archive extraction in isolated worker processes with hard memory limits so an exhaustion event does not affect the main service.
- Set per-request timeouts and resource quotas on endpoints that accept archive uploads to contain abuse.
# Configuration example
# Audit and remove the vulnerable version
npm ls adm-zip
npm uninstall adm-zip
# Reinstall from the patched release once available per the GHSA advisory
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

