Skip to main content
VulnerabilityPublished Updated

CVE-2025-29787: Rust zip · zip is a zip library for rust which supports reading and writing of simple ZIP files

Affects rust-zipSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.3 High · fixed in 2.3.0 : patch rust-zip soon.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.3.0
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-zippkg:deb/ubuntu/rust-zip?arch=source&distro=stonkingOther threatsAffected
  • =5.1.1-3
  • =5.1.1+dfsg-1
Fixed in–
Ubuntu 25.10rust-zippkg:deb/ubuntu/rust-zip?arch=source&distro=questingOther threatsAffected
  • =2.5.0-1
Fixed in–
Ubuntu 20.04 LTSrust-zippkg:deb/ubuntu/rust-zip?arch=source&distro=focalOther threatsAffected
  • =0.5.0-1
  • =0.5.3-1
  • =0.5.3-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to version 2.3.0 or later of the Rust 'zip' crate, where this vulnerability is fixed. Users should avoid extracting untrusted ZIP archives with affected versions. No other mitigations are specified.

Description

The Rust 'zip' crate versions from 1.3.0 up to but not including 2.3.0 contain a vulnerability in the archive extraction routine. This flaw allows symbolic links earlier in the archive to be used by later files without proper validation of the final canonicalized path. As a result, maliciously crafted ZIP archives can overwrite arbitrary files on the filesystem during extraction, potentially with arbitrary file permissions. This can lead to critical system files being overwritten and may enable code execution. The issue is fixed in version 2.3.0.

References

Community reviews

Loading reviews…