CVE-2025-29787zip-rs zip2
High 7.3
Follow: this CVE · zip-rs · zip-rs zip2 We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 4.0
- 7.3
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 17, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive extraction routine of affected versions of the `zip` crate starting with version 1.3.0 and prior to version 2.3.0, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted. Users who extract untrusted archive files using the following high-level API method may be affected and critical files on the system may be overwritten with arbitrary file permissions, which can potentially lead to code execution. Version 2.3.0 fixes the issue.
What to do
- Apply the vendor's security update for zip2.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | zip |
≥ 1.3.0 < 2.3.0 |
2.3.0 |
cargo update -p zip --precise 2.3.0 |
| crates.io | zip |
≥ 1.3.0 < 2.3.0 |
2.3.0 |
cargo update -p zip --precise 2.3.0 |
Per OSV / GitHub Advisories (GHSA-94vh-gphv-8pm8, RUSTSEC-2025-0168). Check the version in your lockfile before upgrading.
Affected products
- zip-rs · zip2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.