{"answers":{"affected":"2 open source packages ship an affected version, including zip.","exploited":"There is no known exploitation of CVE-2026-115905 in the wild and no public exploit code.","fix":"Upgrade zip to 9.0.5 or later.","what":"CVE-2026-115905 is a critical vulnerability in zip-rs zip2, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115905 and fix it if it is affected.\n\nWhat it is: CVE-2026-115905 is a critical vulnerability in zip-rs zip2, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-115905 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zip (crates.io): affected all versions; fixed in 9.0.5\n- zip (crates.io): affected all versions; fixed in 9.0.5\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-115905/ (Markdown: https://insights.sbomify.com/CVE-2026-115905/index.md)","id":"CVE-2026-115905","markdown":"https://insights.sbomify.com/CVE-2026-115905/index.md","name":"CVE-2026-115905","record":{"aliases":["DEBIAN-CVE-2026-115905","GHSA-m665-v7pm-7grj","UBUNTU-CVE-2026-115905"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","version":"4.0"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":"2026-10-27","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-27T07:34:30Z","kind":"github_poc","ref":"https://github.com/foxcornlab/zip-cloaking-scanner","stars":0,"title":"Detection-only triage scanner for Rust zip cloaking CVE-2026-115905: Cargo version check plus Central vs Local header comparison. No payloads, no extraction."},{"date":"2026-10-28T21:31:02Z","kind":"github_poc","ref":"https://github.com/cosmonic-labs/demo-zip-rce-sandbox","stars":0,"title":"Live demo: the same vulnerable Rust zip crate (RUSTSEC-2026-0367 setuid + CVE-2026-115905 zip cloaking) contained by a deny-by-default Cosmonic WebAssembly sandbox."}],"tier":"poc_unverified"},"has_fix":true,"headline":"zip: Critical Parser Differential \u0026 Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite \u0026 RCE","id":"CVE-2026-115905","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"zip: AES Entry HMAC Authentication Bypass on Premature EOF","id":"CVE-2026-115906"},"packages":[{"ecosystem":"crates.io","fixed":["9.0.5"],"introduced":["0"],"last_affected":[],"package":"zip","purl":null,"source":"GHSA-m665-v7pm-7grj"},{"ecosystem":"crates.io","fixed":["9.0.5"],"introduced":["0"],"last_affected":[],"package":"zip","purl":"pkg:cargo/zip","source":"GHSA-m665-v7pm-7grj"}],"prev":{"headline":"Topluyo Desktop for Linux has an OS Command Injection issue","id":"CVE-2026-115904"},"products":["zip2"],"published":"2026-10-26","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-26","vendors":["zip-rs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-115905/"}