CVE catalog

CVE-2026-115906

rust-zip: CVE-2026-115906

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-zipsid9.0.5+ds-1vulnerable
Debianrust-zipforky5.1.1+dfsg-1vulnerable
Debianrust-ziptrixie2.5.0-1vulnerable
Debianrust-zipbookworm0.6.3-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-zipsourcesid(unfixed)not yet assignedNot reported[1152227]
Debianrust-zipsourceforky(unfixed)not yet assignedNot reported[1152227]
Debianrust-zipsourcetrixie(unfixed)not yet assignedNot reported[1152227]
Debianrust-zipsourcebookworm(unfixed)not yet assignedNot reported[1152227]

[Debian bug #1152227]

Notes

[trixie] rust-zip: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librust-zip-dev]Affected

    Source package: [rust-zip]

    Details (2)
    • 0.6.3-3 · amd64 · bookworm

      Affected

      dsa · rust-zip · debian · bookworm; dsa · rust-zip · debian · 12

    • 0.6.3-3 · arm64 · bookworm

      Affected

      dsa · rust-zip · debian · bookworm; dsa · rust-zip · debian · 12

[Debian 13 (Trixie)]

  • [librust-zip-dev]Affected

    Source package: [rust-zip]

    Details (2)
    • 2.5.0-1 · amd64 · trixie

      Affected

      dsa · rust-zip · debian · 13

    • 2.5.0-1 · arm64 · trixie

      Affected

      dsa · rust-zip · debian · 13

Observed:

References