Bug 2560934 (CVE-2026-115905)

Summary: CVE-2026-115905 zip2: zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anpicker, aprice, bbrownin, blitton, brasmith, cochase, dbosanac, doconnor, dranck, dschmidt, ehelms, gotiwari, hasun, hoberger, ikhan, jfula, jhorak, jlanda, jowilson, jpasqual, jreimann, jsamir, juwatts, kshier, lblicha, lpele, mbarnett, mdessi, mhulan, mrizzi, mvyas, nyancey, oezr, ogajduse, ometelka, osousa, pcattana, ptisnovs, rbobbitt, rchan, rekumar, rhel-process-autobot, sarad, simaishi, smallamp, sprizend, stcannon, syedriko, vvoronko, watson-tool-maintainers, xdharmai, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in zip2. A remote attacker can exploit this vulnerability to achieve arbitrary code execution by supplying a specially crafted archive file. This issue occurs because the streaming extractor reads filenames from local file headers without reconciling them against the central directory index. As a result, a malicious archive can bypass security inspection controls by displaying benign filenames to scanners while overwriting critical system files during extraction.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2566257, 2566258, 2566259, 2566260, 2566261, 2566262, 2566263, 2566264, 2566265, 2566266, 2566267, 2566268, 2566270, 2566271, 2566273, 2566274, 2566275, 2566276, 2566277, 2566278, 2566269, 2566272    
Bug Blocks:    

Description OSIDB Bzimport 2026-10-26 16:34:25 UTC
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.