Debian Package Tracker
Register | Log in
Subscribe

rust-zip

Support the reading and writing of zip files - Rust source code

Choose email to subscribe with

general
  • source: rust-zip (main)
  • version: 9.0.5+ds-1
  • maintainer: Debian Rust Maintainers (archive) (DMD)
  • uploaders: Sylvestre Ledru [DMD]
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.5.8-2
  • oldstable: 0.6.3-3
  • stable: 2.5.0-1
  • testing: 5.1.1+dfsg-1
  • unstable: 9.0.5+ds-1
versioned links
  • 0.5.8-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.6.3-3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.5.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 5.1.1+dfsg-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 9.0.5+ds-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • librust-zip-dev (1 bugs: 1, 0, 0, 0)
action needed
source package has 1 unsatisfiable build dependency high
  • Build dependencies in unstable cannot be satisfied on armhf, loong64, arm64, amd64, i386, s390x, ppc64el, and riscv64 because: unsatisfied dependency on librust-typed-path-0.12+default-dev
Created: 2026-10-30 Last update: 2026-10-30 17:01
1 binary package has unsatisfiable dependencies high
  • The dependencies of librust-zip-dev=9.0.5+ds-1 cannot be satisfied in unstable on armhf, loong64, arm64, amd64, i386, s390x, ppc64el, and riscv64 because: unsatisfied dependency on librust-typed-path-0.12+default-dev
Created: 2026-10-30 Last update: 2026-10-30 17:01
A new upstream version is available: 9.1.3 high
A new upstream version 9.1.3 is available, you should consider packaging it.
Created: 2026-10-28 Last update: 2026-10-30 11:01
4 security issues in forky high

There are 4 open security issues in forky.

4 important issues:
  • CVE-2026-115905: 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.
  • CVE-2026-115906: 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.
  • CVE-2026-115907: zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
  • CVE-2026-115909: zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.
Created: 2026-10-27 Last update: 2026-10-28 06:30
4 security issues in bookworm high

There are 4 open security issues in bookworm.

4 important issues:
  • CVE-2026-115905: 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.
  • CVE-2026-115906: 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.
  • CVE-2026-115907: zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
  • CVE-2026-115909: zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.
Created: 2026-10-27 Last update: 2026-10-28 06:30
1 security issue in bullseye high

There is 1 open security issue in bullseye.

1 important issue:
  • TEMP-0000000-5D7F62:
Created: 2026-08-14 Last update: 2026-08-14 17:03
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-10-28 Last update: 2026-10-28 09:02
debian/patches: 4 patches to forward upstream low

Among the 4 debian patches available in version 9.0.5+ds-1 of the package, we noticed the following issues:

  • 4 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-10-28 12:03
4 low-priority security issues in trixie low

There are 4 open security issues in trixie.

4 issues left for the package maintainer to handle:
  • CVE-2026-115905: (needs triaging) 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.
  • CVE-2026-115906: (needs triaging) 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.
  • CVE-2026-115907: (needs triaging) zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
  • CVE-2026-115909: (needs triaging) zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-10-27 Last update: 2026-10-28 06:30
testing migrations
  • excuses:
    • Migrates after: python-maturin, rust-calamine, rust-czkawka-core, rust-docx-rs, rust-doxx, rust-feluda, rust-grcov, rust-image-extras, rust-miniserve, rust-python-pkginfo, rust-system-deps-meta, rust-tealdeer
    • Migration status for rust-zip (5.1.1+dfsg-1 to 9.0.5+ds-1): BLOCKED: Rejected/violates migration policy/introduces a regression
    • Issues preventing migration:
    • ∙ ∙ Updating rust-zip would introduce bugs in testing: #1152597
    • ∙ ∙ migrating librust-zip-dev/9.0.5+ds-1/amd64 to testing makes Build-Depends of src:ruff uninstallable
    • ∙ ∙ migrating librust-zip-dev/9.0.5+ds-1/amd64 to testing makes Build-Depends of src:sccache uninstallable
    • ∙ ∙ migrating librust-zip-dev/9.0.5+ds-1/amd64 to testing makes Build-Depends of src:uv uninstallable
    • ∙ ∙ Autopkgtest for rust-binary-install/0.4.1+ds-5: amd64: Regression ♻ (reference ♻), arm64: Regression ♻ (reference ♻), armhf: Regression ♻ (reference ♻), i386: Test triggered, loong64: Test triggered, ppc64el: Regression ♻ (reference ♻), riscv64: Regression ♻ (reference ♻), s390x: Regression ♻ (reference ♻)
    • ∙ ∙ Autopkgtest for rust-calamine: i386: Test triggered, loong64: Test triggered
    • ∙ ∙ Autopkgtest for rust-czkawka-core/12.0.2-2: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Test triggered, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for rust-docx-rs/0.4.20-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Test triggered, ppc64el: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for rust-doxx/0.1.4+dfsg-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Test triggered, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for rust-grcov: i386: Test triggered, loong64: Test triggered
    • ∙ ∙ Autopkgtest for rust-image-extras: i386: Test triggered, loong64: Test triggered
    • ∙ ∙ Autopkgtest for rust-python-pkginfo: i386: Test triggered, loong64: Test triggered
    • ∙ ∙ Autopkgtest for rust-system-deps-meta/9.0.0-2: amd64: No tests, superficial or marked flaky ♻, arm64: No tests, superficial or marked flaky ♻, armhf: No tests, superficial or marked flaky ♻, i386: Test triggered, loong64: Test triggered, ppc64el: No tests, superficial or marked flaky ♻, s390x: No tests, superficial or marked flaky ♻
    • ∙ ∙ Autopkgtest for rust-zip/9.0.5+ds-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Test triggered, ppc64el: Pass, riscv64: Regression ♻ (reference ♻), s390x: Pass
    • ∙ ∙ Too young, only 2 of 5 days old
    • ∙ ∙ Implicit dependency: rust-zip python-maturin (not considered)
    • ∙ ∙ Implicit dependency: rust-zip rust-calamine
    • ∙ ∙ Implicit dependency: rust-zip rust-czkawka-core (not considered)
    • ∙ ∙ Implicit dependency: rust-zip rust-docx-rs
    • ∙ ∙ Implicit dependency: rust-zip rust-doxx
    • ∙ ∙ Implicit dependency: rust-zip rust-feluda (not considered)
    • ∙ ∙ Implicit dependency: rust-zip rust-grcov
    • ∙ ∙ Implicit dependency: rust-zip rust-image-extras
    • ∙ ∙ Implicit dependency: rust-zip rust-miniserve (not considered)
    • ∙ ∙ Implicit dependency: rust-zip rust-python-pkginfo
    • ∙ ∙ Implicit dependency: rust-zip rust-system-deps-meta
    • ∙ ∙ Implicit dependency: rust-zip rust-tealdeer (not considered)
    • Additional info (not blocking):
    • ∙ ∙ Updating rust-zip will fix bugs in testing: #1152227
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/r/rust-zip.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • Not considered
news
[rss feed]
  • [2026-10-27] Accepted rust-zip 9.0.5+ds-1 (source) into unstable (Alexander Kjäll) (signed by: capitol@debian.org)
  • [2026-04-07] rust-zip 5.1.1+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-21] Accepted rust-zip 5.1.1+dfsg-1 (source) into unstable (Peter Michael Green)
  • [2026-03-11] Accepted rust-zip 5.1.1-4 (source) into experimental (Peter Michael Green)
  • [2025-12-18] rust-zip 5.1.1-3 MIGRATED to testing (Debian testing watch)
  • [2025-12-14] Accepted rust-zip 5.1.1-3 (source) into unstable (Fabian Grünbichler) (signed by: Fabian Gruenbichler)
  • [2025-09-28] rust-zip 5.1.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-09-25] Accepted rust-zip 5.1.1-2 (source) into unstable (Peter Michael Green)
  • [2025-09-16] Accepted rust-zip 5.1.1-1 (source) into experimental (Peter Michael Green)
  • [2025-04-11] rust-zip 2.5.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-26] Accepted rust-zip 2.5.0-1 (source) into unstable (Blair Noctis)
  • [2024-08-12] rust-zip 0.6.6-5 MIGRATED to testing (Debian testing watch)
  • [2024-08-01] Accepted rust-zip 0.6.6-5 (source) into unstable (Peter Michael Green)
  • [2024-06-02] rust-zip 0.6.6-4 MIGRATED to testing (Debian testing watch)
  • [2024-05-31] Accepted rust-zip 0.6.6-4 (source) into unstable (Peter Michael Green)
  • [2023-12-30] Accepted rust-zip 0.6.6-3 (source) into experimental (Peter Michael Green)
  • [2023-09-02] rust-zip 0.6.6-2 MIGRATED to testing (Debian testing watch)
  • [2023-08-31] Accepted rust-zip 0.6.6-2 (source) into unstable (Peter Michael Green)
  • [2023-07-11] rust-zip 0.6.6-1 MIGRATED to testing (Debian testing watch)
  • [2023-07-04] Accepted rust-zip 0.6.6-1 (source) into unstable (Blair Noctis) (signed by: Peter Michael Green)
  • [2023-01-18] rust-zip 0.6.3-3 MIGRATED to testing (Debian testing watch)
  • [2023-01-09] Accepted rust-zip 0.6.3-3 (source) into unstable (Matthias Geiger) (signed by: Sylvestre Ledru)
  • [2022-12-30] rust-zip 0.6.3-2 MIGRATED to testing (Debian testing watch)
  • [2022-12-28] Accepted rust-zip 0.6.3-2 (source) into unstable (Peter Michael Green)
  • [2022-12-23] Accepted rust-zip 0.6.3-1 (source) into experimental (Peter Michael Green)
  • [2021-10-25] rust-zip 0.5.13-1 MIGRATED to testing (Debian testing watch)
  • [2021-10-22] Accepted rust-zip 0.5.13-1 (source) into unstable (Peter Michael Green)
  • [2020-10-27] rust-zip 0.5.8-2 MIGRATED to testing (Debian testing watch)
  • [2020-10-21] Accepted rust-zip 0.5.8-2 (source) into unstable (Daniel Kahn Gillmor)
  • [2020-10-15] Accepted rust-zip 0.5.8-1 (source) into unstable (Daniel Kahn Gillmor)
  • 1
  • 2
bugs [bug history graph]
  • all: 2
  • RC: 1
  • I&N: 1
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, debcheck, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 5.1.1+dfsg-1
  • 1 bug

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing