Skip to main content
Vulnerability Database/CVE-2026-111141

CVE-2026-111141: zziplib Buffer Overflow Vulnerability

CVE-2026-111141 is a buffer overflow flaw in zziplib that allows attackers to read past mapped memory boundaries through crafted ZIP files. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111141 Overview

CVE-2026-111141 is an out-of-bounds read vulnerability in zziplib through version 0.13.80. The flaw resides in the __zzip_parse_root_directory() function in zzip/zip.c. An ineffective bounds check allows attackers to read past the mapped central directory in mmap builds. A crafted ZIP archive whose entry name ends at the central directory boundary triggers a 28-byte ZIP64 extra field over-read via zzip_dir_open(). The over-read crashes the process consuming the archive, producing a denial-of-service condition in applications that embed zziplib for archive parsing. The vulnerability is categorized under CWE-125 Out-of-Bounds Read.

Critical Impact

A malicious ZIP archive can crash any process using zziplib 0.13.80 or earlier with mmap-based parsing enabled, causing denial of service in archive-handling tools and services.

Affected Products

  • zziplib through version 0.13.80
  • Applications linking zziplib with mmap-based builds enabled
  • Downstream Linux distributions and utilities bundling vulnerable zziplib releases

Discovery Timeline

  • 2026-10-15 - CVE-2026-111141 published to the National Vulnerability Database
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-111141

Vulnerability Analysis

The vulnerability occurs in __zzip_parse_root_directory() while iterating entries of a ZIP central directory loaded through mmap. The parser validates the location of the current entry header but does not correctly validate that any trailing ZIP64 extra field data remains inside the mapped region. When an attacker crafts an entry whose variable-length name terminates exactly at the end of the central directory, the subsequent read of the 28-byte ZIP64 extra field extends beyond the mapped memory region. On most systems the read crosses into unmapped pages, generating a SIGSEGV and terminating the host process. Any consumer calling zzip_dir_open() on untrusted input is therefore exposed to a crash primitive triggered purely by file content.

Root Cause

The root cause is an ineffective bounds check that confirms the entry header fits within the central directory but does not account for optional ZIP64 extra fields parsed immediately afterward. The parser trusts the on-disk size markers and advances the read cursor beyond the mapped region. See the relevant code at zzip/zip.c lines 530-558.

Attack Vector

Exploitation requires an attacker to deliver a crafted ZIP archive to an application that opens archives with zzip_dir_open(). The attacker needs local file delivery and user interaction to open the archive. Successful exploitation produces a process crash. No memory disclosure or code execution has been demonstrated. Technical analysis is available in the HackMD write-up on the zziplib central directory OOB read and the Vulncheck advisory for zziplib ZIP64 parsing.

No verified proof-of-concept code is published for inclusion here. Refer to the external advisories above for reproducers and crafted archive details.

Detection Methods for CVE-2026-111141

Indicators of Compromise

  • Unexpected SIGSEGV or abnormal termination of processes that call zzip_dir_open() when parsing user-supplied ZIP files.
  • Core dumps whose faulting instruction maps to __zzip_parse_root_directory() in zzip/zip.c.
  • ZIP archives whose central directory entries place a filename exactly at the end of the central directory region.

Detection Strategies

  • Inventory binaries and packages that link against libzzip and identify versions at or below 0.13.80.
  • Scan file ingestion pipelines for ZIP files containing ZIP64 extra fields with suspicious offsets or truncated central directories.
  • Correlate repeated crash events in archive-processing services with the arrival of externally sourced ZIP files.

Monitoring Recommendations

  • Enable crash telemetry on servers and desktops that process untrusted archives, forwarding core-dump metadata to a central log store.
  • Monitor process health for file-handling daemons, mail gateways, and content scanners that embed zziplib.
  • Alert on repeated faults in the same shared library (libzzip.so) across hosts, which indicates a weaponized archive campaign.

How to Mitigate CVE-2026-111141

Immediate Actions Required

  • Identify every system and container image shipping zziplib 0.13.80 or earlier and prioritize patching those exposed to untrusted archives.
  • Restrict archive ingestion paths so that only trusted sources can submit ZIP files to services linking zziplib.
  • Isolate archive-processing workloads in sandboxed or restarted-on-failure service units to limit the blast radius of a crash.

Patch Information

Upgrade to a fixed release of zziplib once published by the maintainer. Track updates in the gdraheim/zziplib GitHub repository and the Vulncheck zziplib advisory. Downstream distributions should rebuild dependent packages against the fixed library and redeploy affected services.

Workarounds

  • Rebuild zziplib without mmap support if the fixed version is unavailable, forcing read-based parsing paths that are not affected by this specific over-read.
  • Pre-validate incoming ZIP archives with an independent parser that enforces strict central directory bounds before passing files to zziplib.
  • Run archive-handling processes under a supervisor that restarts them on crash to maintain availability while a patch is rolled out.
bash
# Identify binaries linked against libzzip on Linux hosts
ldconfig -p | grep -i zzip

# Query installed package version (Debian/Ubuntu)
dpkg -l | grep -i zziplib

# Query installed package version (RHEL/Fedora)
rpm -qa | grep -i zziplib

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.