ADVISORIES

Vulnerability

CVE-2025-29787

`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.

19 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-2989-hfrg-9c82
    CVE-2025-29787 Chainguard Updated 5 November 2026
  • CGA-2rr7-hrhv-64cp
    CVE-2025-29787 Chainguard Updated 5 November 2026
  • CGA-2w8h-4whm-rh7m
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-5g2f-qvpj-w4p5
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-5gq7-83xq-5vxg
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-8892-fq3h-v6rr
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-8chm-c66w-x3p9
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-cfqg-qpg2-wf93
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-hcxf-8824-jxr3
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-hgv2-62wr-jcvm
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-jf8g-jwp8-8x78
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-mhpw-mrpm-ppc3
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-mx7q-3pwg-g5j9
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-mxfj-m96v-3hv7
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-qrw3-pj54-652m
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • CGA-wg8v-vfvr-486m
    CVE-2025-29787 ChainguardWolfi Updated 5 November 2026
  • GHSA-94vh-gphv-8pm8

    zip Incorrectly Canonicalizes Paths during Archive Extraction Leading to Arbitrary File Write

    High CVE-2025-29787 crates.io Updated 10 September 2026
  • RUSTSEC-2025-0168

    Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write

    CVE-2025-29787 crates.io Updated 12 October 2026
  • UBUNTU-CVE-2025-29787

    `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,…

    CVE-2025-29787 Ubuntu Updated 4 November 2026

References