{"answers":{"affected":"2 open source packages ship an affected version, including adm-zip.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39244 exists.","fix":"Upgrade adm-zip to 0.6.0 or later.","what":"CVE-2026-39244 is a high-severity denial of service vulnerability in n/a, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39244 and fix it if it is affected.\n\nWhat it is: CVE-2026-39244 is a high-severity denial of service vulnerability in n/a, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39244 exists.\n\nAffected packages and fixed versions:\n- adm-zip (npm): affected all versions; fixed in 0.6.0\n- adm-zip (npm): affected all versions; fixed in 0.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-39244/ (Markdown: https://insights.sbomify.com/CVE-2026-39244/index.md)","id":"CVE-2026-39244","markdown":"https://insights.sbomify.com/CVE-2026-39244/index.md","name":"CVE-2026-39244","record":{"aliases":["CLEANSTART-2026-CE47841","CLEANSTART-2026-OC57754","CLEANSTART-2026-ZL52542","CLSA-2026-1784856024","CLSA-2026-1790161376","CLSA-2026-1790162696","CLSA-2026-1790165044","CLSA-2026-1790176614","CLSA-2026-1791315520","ECHO-74cc-31c3-74b6","GHSA-xcpc-8h2w-3j85","MINI-38pj-8hm8-fr2m","MINI-38w2-jf2p-mrrj","MINI-4vf4-825c-crmj","MINI-5vw4-qw26-2fjw","MINI-7h3c-6prh-qjmr","MINI-9qcf-g6cf-mq73","MINI-c44m-6g72-cwj9","MINI-f388-cr6r-78pw","MINI-f6fw-58c9-6gfq","MINI-j56j-7v5h-7x7w","MINI-mrm7-fqpr-ff4c","MINI-p897-85xr-ccr5","MINI-rq38-phv8-j899","MINI-w6pm-4wcg-jwh7","ROOT-APP-NPM-CVE-2026-39244"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js ZIP library","requires_auth":"none","summary":"Attackers can crash applications using adm-zip by submitting small ZIP files with manipulated headers that trigger excessive memory allocation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"adm-zip: Crafted ZIP file triggers 4GB memory allocation","id":"CVE-2026-39244","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Path traversal in n/a","id":"CVE-2026-39245"},"packages":[{"ecosystem":"npm","fixed":["0.6.0"],"introduced":["0"],"last_affected":[],"package":"adm-zip","purl":null,"source":"GHSA-xcpc-8h2w-3j85"},{"ecosystem":"npm","fixed":["0.6.0"],"introduced":["0"],"last_affected":[],"package":"adm-zip","purl":"pkg:npm/adm-zip","source":"GHSA-xcpc-8h2w-3j85"}],"prev":{"headline":"decompress allows arbitrary hardlink creation during archive extraction","id":"CVE-2026-39243"},"products":["n/a"],"published":"2026-07-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-10","vendors":["n/a"]},"summary":"Attackers can crash applications using adm-zip by submitting small ZIP files with manipulated headers that trigger excessive memory allocation.","url":"https://insights.sbomify.com/CVE-2026-39244/"}