zip Rust Library: Denial of Service via ZIP64 Uncompressed Size (CVE-2026-115909)
The zip Rust library is vulnerable to a denial-of-service condition where a malicious ZIP64 archive triggers an unrecoverable process abort through an impossible memory allocation request.
CVE search metadata
CVE search record: CVE-2026-115909. Severity: high. CVSS: 7.5. KEV: no. Product: zip (< 9.0.0). Brief: zip Rust Library: Denial of Service via ZIP64 Uncompressed Size (CVE-2026-115909). Brief link: https://feed.craftedsignal.io/briefs/2026-10-zip-rust-dos-f3aab68b/
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 Rust library (versions 1.3.0 through 8.x) contains a vulnerability in ZipArchive::extract where the library trusts an attacker-controlled uncompressed size value from a ZIP64 archive. The library uses this value to initialize memory via Vec::with_capacity. If a malicious archive specifies an excessively large size, the application attempts an impossible memory allocation. Because this allocation path is infallible in Rust, the process is aborted immediately. This abort cannot be caught by catch_unwind or worker threads, enabling a persistent denial-of-service attack against any application that processes untrusted ZIP archives using this library.
Impact
The vulnerability results in a total denial-of-service for any process using the affected zip library to extract ZIP64 archives. The crash is non-recoverable, and the process is immediately terminated by the operating system, impacting the availability of the host application.
Recommendation
- Update the zip dependency to version 9.0.0 or later in all projects.
- Identify and audit applications that utilize the zip crate to process externally supplied or untrusted ZIP files.
- Implement strict input validation on the size of incoming ZIP archives before passing them to the
ZipArchive::extractfunction.
Immediate actions
Update zip crate dependency to 9.0.0 or later across all software repositories
Threat Hunt
Identify applications repeatedly crashing during file extraction
Data: Application error logs, OS process termination logs (e.g., SIGABRT signals), Crash dumps or stack traces referencing the zip library
Mitigations
Upgrade affected projects to zip version 9.0.0
CVE-2026-115909