p PatchFirst

CVE-2026-115905

CVE-2026-115905 · zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 10.0 · Critical · EPSS 0.3% · Public exploit

Published
Updated

Stack: system

Affected products and versions

  • zip2

    Versions
    • < 9.0.5: Affected

    No fix published

  • rust-zip Debian:12

    Versions
    • 0.6.3-3
    • 0.6.6-1
    • 0.6.6-2
    • 0.6.6-3
    • 0.6.6-4
    • 0.6.6-5
    • 2.5.0-1
    • 5.1.1+dfsg-1
    • 5.1.1-1
    • 5.1.1-2
    • 5.1.1-3
    • 5.1.1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Debian:13

    Versions
    • 2.5.0-1
    • 5.1.1+dfsg-1
    • 5.1.1-1
    • 5.1.1-2
    • 5.1.1-3
    • 5.1.1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Debian:14

    Versions
    • 2.5.0-1
    • 5.1.1+dfsg-1
    • 5.1.1-1
    • 5.1.1-2
    • 5.1.1-3
    • 5.1.1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Ubuntu:20.04:LTS

    Versions
    • 0.5.0-1
    • 0.5.3-1
    • 0.5.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Ubuntu:22.04:LTS

    Versions
    • 0.5.8-2
    • 0.5.13-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Ubuntu:24.04:LTS

    Versions
    • 0.6.6-1
    • 0.6.6-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Ubuntu:26.10

    Versions
    • 5.1.1-3
    • 5.1.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-zip Ubuntu:26.04:LTS

    Versions
    • 2.5.0-1
    • 5.1.1-2
    • 5.1.1-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →