---
id: CVE-2026-115909
title: >-
  zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During
  Extraction
summary: >-
  zip is a zip library for Rust that supports reading and writing simple ZIP
  files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls
  Vec::with_capacity for a symbolic link target using the attacker-controlled
  ZIP64 unco…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-400
  - CWE-789
vendor: zip-rs
product: zip2
affected:
  - 'zip2 >= 1.3.0, < 9.0.0'
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-26T19:30:13.578600Z'
published: '2026-10-26'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T19:48:35.352Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115909'
references:
  - url: 'https://github.com/zip-rs/zip2/security/advisories/GHSA-q7v9-x93c-xqv3'
    label: 'https://github.com/zip-rs/zip2/security/advisories/GHSA-q7v9-x93c-xqv3'
  - url: 'https://github.com/zip-rs/zip2/pull/984'
    label: 'https://github.com/zip-rs/zip2/pull/984'
  - url: >-
      https://github.com/zip-rs/zip2/commit/a543a1fc8f3f3eef36f27bb137230295284cdb98
    label: >-
      https://github.com/zip-rs/zip2/commit/a543a1fc8f3f3eef36f27bb137230295284cdb98
  - url: 'https://github.com/zip-rs/zip2/releases/tag/v9.0.0'
    label: 'https://github.com/zip-rs/zip2/releases/tag/v9.0.0'
tags:
  - cve.org
ingestedAt: '2026-10-26T17:33:33.078Z'
---

## Overview

zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.

## Affected

- `zip2 >= 1.3.0, < 9.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
