{"answers":{"affected":"2 open source packages ship an affected version, including zip.","exploited":"There is no known exploitation of CVE-2026-115906 in the wild and no public exploit code.","fix":"Upgrade zip to 9.0.0 or later.","what":"CVE-2026-115906 is a medium-severity vulnerability in zip-rs zip2, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115906 and fix it if it is affected.\n\nWhat it is: CVE-2026-115906 is a medium-severity vulnerability in zip-rs zip2, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-115906 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zip (crates.io): affected from 0.6.0; fixed in 9.0.0\n- zip (crates.io): affected from 0.6.0; fixed in 9.0.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-115906/ (Markdown: https://insights.sbomify.com/CVE-2026-115906/index.md)","id":"CVE-2026-115906","markdown":"https://insights.sbomify.com/CVE-2026-115906/index.md","name":"CVE-2026-115906","record":{"aliases":["DEBIAN-CVE-2026-115906","GHSA-8hxf-qr8p-62x4","UBUNTU-CVE-2026-115906"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"description":"zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"zip: AES Entry HMAC Authentication Bypass on Premature EOF","id":"CVE-2026-115906","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: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size","id":"CVE-2026-115907"},"packages":[{"ecosystem":"crates.io","fixed":["9.0.0"],"introduced":["0.6.0"],"last_affected":[],"package":"zip","purl":null,"source":"GHSA-8hxf-qr8p-62x4"},{"ecosystem":"crates.io","fixed":["9.0.0"],"introduced":["0.6.0"],"last_affected":[],"package":"zip","purl":"pkg:cargo/zip","source":"GHSA-8hxf-qr8p-62x4"}],"prev":{"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"},"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)"}],"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-115906/"}