CVE-2026-39244: n/a
adm-zip versions before 0.5.18 contain a denial of service vulnerability triggered by crafted ZIP files with manipulated uncompressed size headers. The vulnerability arises because the library allocates memory based on the declared uncompressed size without validating it against the actual compressed data size or imposing limits. This can cause excessive memory allocation leading to process crashes when handling untrusted ZIP files.
AI Analysis
Technical Summary
The adm-zip library prior to version 0.5.18 is vulnerable to a denial of service attack via a crafted ZIP file that declares an excessively large uncompressed size in its central directory header. The vulnerability exists because the code allocates memory (Buffer.alloc) based on this declared size without bounds checking or validation against the actual compressed data size. This allows an attacker to cause a memory allocation amplification of over 33 million times, leading to immediate process crashes during extraction or reading operations. The flaw affects all extraction and read methods, including readFile(), readAsText(), extractEntryTo(), extractAllTo(), extractAllToAsync(), test(), and entry.getData(). The malicious payload cannot be rejected early because allocation occurs before CRC validation.
Potential Impact
Applications using vulnerable versions of adm-zip that accept untrusted ZIP files are susceptible to denial of service via process crashes caused by excessive memory allocation. This can disrupt service availability and potentially lead to application instability or downtime. There is no indication of code execution or data corruption beyond denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted ZIP files with adm-zip versions prior to 0.5.18. Consider implementing additional input validation or sandboxing to limit impact.
CVE-2026-39244: n/a
Description
adm-zip versions before 0.5.18 contain a denial of service vulnerability triggered by crafted ZIP files with manipulated uncompressed size headers. The vulnerability arises because the library allocates memory based on the declared uncompressed size without validating it against the actual compressed data size or imposing limits. This can cause excessive memory allocation leading to process crashes when handling untrusted ZIP files.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The adm-zip library prior to version 0.5.18 is vulnerable to a denial of service attack via a crafted ZIP file that declares an excessively large uncompressed size in its central directory header. The vulnerability exists because the code allocates memory (Buffer.alloc) based on this declared size without bounds checking or validation against the actual compressed data size. This allows an attacker to cause a memory allocation amplification of over 33 million times, leading to immediate process crashes during extraction or reading operations. The flaw affects all extraction and read methods, including readFile(), readAsText(), extractEntryTo(), extractAllTo(), extractAllToAsync(), test(), and entry.getData(). The malicious payload cannot be rejected early because allocation occurs before CRC validation.
Potential Impact
Applications using vulnerable versions of adm-zip that accept untrusted ZIP files are susceptible to denial of service via process crashes caused by excessive memory allocation. This can disrupt service availability and potentially lead to application instability or downtime. There is no indication of code execution or data corruption beyond denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted ZIP files with adm-zip versions prior to 0.5.18. Consider implementing additional input validation or sandboxing to limit impact.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-06T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a511ed468715ace43d68927
Added to database: 07/10/2026, 16:33:24 UTC
Last enriched: 07/10/2026, 16:48:48 UTC
Last updated: 07/10/2026, 17:07:19 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.