CVE-2026-39244

Source
https://cve.org/CVERecord?id=CVE-2026-39244
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39244.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-39244
Aliases
Downstream
Published
2026-07-10T00:00:00Z
Modified
2026-07-17T22:11:39.050786741Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

adm-zip before 0.5.18 is vulnerable to denial of service via a crafted ZIP file with a manipulated uncompressed size header field. In zipEntry.js line 103, Buffer.alloc(_centralHeader.size) allocates memory based on the declared uncompressed size from the ZIP central directory header without validating it against the actual compressed data size or imposing any upper bound. The size value is read directly from the binary header at entryHeader.js line 266 with no bounds check. An attacker can craft a ~120-byte ZIP file that declares ~4GB uncompressed size, causing a memory allocation amplification ratio of over 33 million to 1. The allocation occurs before CRC validation, so the malicious payload cannot be rejected early. All extraction and read methods are affected: readFile(), readAsText(), extractEntryTo(), extractAllTo(), extractAllToAsync(), test(), and entry.getData(). Any application accepting untrusted ZIP files via adm-zip is vulnerable to immediate process crash.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39244.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/cthackers/adm-zip

Affected ranges

Type
GIT
Repo
https://github.com/cthackers/adm-zip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.5.18"
        }
    ],
    "source": "DESCRIPTION"
}

Affected versions

v0.*
v0.1.1
v0.1.2
v0.1.3
v0.1.5
v0.1.7
v0.1.8
v0.1.9
v0.2.1
v0.3.1
v0.3.2
v0.4.10
v0.4.11
v0.4.13
v0.4.14
v0.4.16
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9
v0.5.0
v0.5.1
v0.5.10
v0.5.11
v0.5.12
v0.5.13
v0.5.14
v0.5.15
v0.5.16
v0.5.17
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39244.json"