CVE-2026-115907: zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size

Published Oct 26, 2026
·
Updated

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.

Affected Software

1 affected component
crates.io/zip>=5.1.0<9.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade zip to a version that resolves this vulnerability.

    Fixed in 9.0.0

Event History

Oct 26, 2026
CVE Published
via MITRE·04:32 PM
Data Sourced
via MITRE·04:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service condition?

Applications using the Rust zip crate from 5.1.0 up to, but not including, 9.0.0 are affected when they are built with the legacy-zip feature and process attacker-controlled ZIP archives through the legacy Shrink, Reduce, or Implode decoder paths.

2

What does an attacker need to do to trigger the issue?

An attacker needs to provide a crafted ZIP64 archive with an attacker-controlled uncompressed-size value. No authentication or user interaction is required according to the provided vector.

3

What is the operational impact if exploitation succeeds?

The decoder can panic due to a capacity overflow during ZipArchive::extract. If the panic is unhandled, it can terminate the archive-processing service.

4

What version resolves the issue?

The issue is fixed in zip version 9.0.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203