Skip to content
Threat Feed
low advisory

zip-rs: Denial of service via unchecked ZIP64 allocation (CVE-2026-115907)

The Rust zip library is vulnerable to a denial-of-service condition where attacker-controlled ZIP64 uncompressed size headers trigger memory allocation panics during extraction, causing service termination.

CVE search metadata

CVE search record: CVE-2026-115907. Severity: high. CVSS: 7.5. KEV: no. Product: zip (< 9.0.0). Brief: zip-rs: Denial of service via unchecked ZIP64 allocation (CVE-2026-115907). Brief link: https://feed.craftedsignal.io/briefs/2026-10-zip-rust-dos/

Triage facts

Revision 1
Applicability
zip (< 9.0.0)
Evidence
Unknown
Severity
Low
Action
Elevated
Sources
1 public source
Freshness
Revision 1Oct 26, 17:45 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

The zip-rs library, specifically when the 'legacy-zip' feature is enabled, contains a vulnerability that allows an attacker to trigger an unhandled panic by supplying a maliciously crafted ZIP archive. The library preallocates output memory based on the ZIP64 uncompressed size field before validating the integrity of the compressed data. This vulnerability affects the Shrink, Reduce, and Implode decoders within the library. If an archive-processing service attempts to extract such a file, the resulting capacity overflow leads to a panic and subsequent termination of the service. This issue is resolved in version 9.0.0.

Impact

Successful exploitation results in a denial-of-service condition for the application or service consuming the library, as the unhandled panic terminates the processing thread or the entire service process.

Recommendation

  • Update the zip-rs crate to version 9.0.0 or later to ensure the library properly validates compressed stream data before allocating output capacity.
  • Audit applications using the 'legacy-zip' feature to determine if they are exposed to untrusted user-supplied ZIP files.
  • Implement memory limits or resource constraints on containerized or service-level environments that process uploaded archives to mitigate the impact of unexpected allocation attempts.

Threat Hunt

Identify services that utilize the zip crate and specifically the legacy-zip feature

medium high confidence hunt now

Data: Application dependency manifests (Cargo.toml files)

Mitigations

Upgrade the zip crate in all projects to version 9.0.0 or later

immediate IT Operations

CVE-2026-115907