pwned.coffeeOrder ticket · today's special · 28 Oct 2026
Double espresso · 355°CcriticalOrder up · fix available
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
zip-rs zip2
A critical architectural parser differential exists in the zip crate (<= 9.0.4) between random-access archive readers (ZipArchive) and streaming readers (ZipStreamReader). ZipArchive considers the Central Directory File Header (CDFH) authoritative and ignores the filename declared in the Local File Header (LFH).
Do this now
Upgrade zip to 9.0.5 and zip2 to 9.0.5, and avoid extracting untrusted archives until then.
Fix it
zip-rs zip2
- Upgrade to zip-rs zip2 9.0.5
zip cargo
cargo update -p zip --precise 9.0.5
- First seen
- Last update
- Fixed in
- zip 9.0.5
- zip-rs zip2 9.0.5
- Identifiers
- CVSS
- 10.0
- Source
- GitHub advisory
Receipt
- Exploitation
- No known exploitation
- Fix by release line
Product Affected Fixed in Source zip (cargo) <= 9.0.4 9.0.5 GitHub advisory checked zip-rs zip2 before 9.0.5 9.0.5 CVE record (CNA) checked - Score
- CVSS 10.0 (critical). CVSS 4.0 10 (CNA GitHub_M) for CVE-2026-115905
- Last checked
Sources: KEV – CVE record ✓ Vendor ✓
Sources
Wrong fix version, or a source we missed? Send it back to chef@pwned.coffee with the source, and we'll correct it here.
Totalone very hot coffee