Skip to main content
VulnerabilityPublished Updated

CVE-2026-115905: zip · `ZipStreamReader` extracts entries under local-header names that can differ from the central directory

Affects zipSource GCVE Database

0
Compare
Authoritative record:CVE-2026-115905· Critical 10.0

Not known to be exploited · CVSS 10.0 Critical : upgrade to 9.0.5 as a priority.

Data as of 17 Nov 2026, 10:52 UTC

CVSS 4.0 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.010.0
Patch
Available – fixed in 9.0.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Oct 2026

  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 16 Nov 2026.

What to do

Upgrade zip to 9.0.5.

Affected software

ProductAffectedFixed in
crates.iozippkg:cargo/zipOther threatsAffected
  • >=0.0.0-0 <9.0.5
Fixed in
  • 9.0.5

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 9.0.5 or later where the fix is implemented. Additionally, explicitly enable the header consistency check by calling ZipStreamReader::enforce_header_consistency(true) or equivalent options in ZipReadOptions or ZipArchive when extracting untrusted archives. This ensures that local headers are verified against the central directory, preventing extraction of mismatched entries. Simply upgrading without enabling this check does not mitigate the vulnerability.

Description

The vulnerability in ZipStreamReader allows ZIP archives to have differing file names between the local file headers and the central directory. This discrepancy can cause applications that check archive contents using ZipArchive but extract using ZipStreamReader to write or overwrite files under unexpected names, potentially leading to unauthorized file modifications. A fix is available in version 9.0.5 that introduces an opt-in consistency check between local headers and central directory entries, but this check is disabled by default, requiring applications to enable it explicitly when extracting untrusted archives.

References

Community reviews

Loading reviews…