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-111142 Overview
CVE-2026-111142 is an out-of-bounds read vulnerability in zziplib through version 0.13.80. The flaw resides in zzip/mmapped.c, specifically in the zzip_disk_entry_strdup_name function. Attackers can craft a ZIP archive with an end-of-central-directory record that places the first entry near the buffer end. When parsed, the library reads past the mapped buffer boundary, over-reading heap memory and crashing the application. The weakness is classified as [CWE-125] Out-of-Bounds Read. Any application that uses zziplib to process untrusted ZIP files is exposed.
Critical Impact
A crafted ZIP central directory triggers heap over-read in zzip_disk_entry_strdup_name, causing application crashes and potential memory disclosure.
Affected Products
- zziplib versions through 0.13.80
- Applications linking against vulnerable zziplib builds
- Linux distributions shipping zziplib as a system library
Discovery Timeline
- 2026-10-15 - CVE-2026-111142 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111142
Vulnerability Analysis
The vulnerability lives in the memory-mapped ZIP parsing path of zziplib. When zziplib opens a ZIP archive, it locates the end-of-central-directory (EOCD) record and iterates central directory entries to extract file metadata. The function zzip_disk_entry_strdup_name copies the filename of each entry from the mapped buffer into a newly allocated string. Because the parser does not sufficiently validate that the declared filename length stays within buffer bounds, a maliciously crafted archive can position the first central directory entry near the end of the mapped region. The subsequent read extends past the allocated boundary into adjacent heap memory.
The immediate consequence is a process crash, resulting in denial of service for any service or utility that opens attacker-controlled ZIP files. Depending on the host allocator layout, the over-read may also return sensitive adjacent heap content to callers that propagate the buffer, enabling limited information disclosure.
Root Cause
The root cause is missing bounds validation in the central directory iteration logic in zzip/mmapped.c (see lines 323-352 and 420-497 in the upstream repository). The parser trusts offset and length fields from the EOCD and central directory headers without confirming they remain within the mapped buffer before dereferencing them.
Attack Vector
Exploitation requires an attacker to supply a crafted ZIP archive to a program that uses zziplib for parsing. The CVSS vector indicates a local attack vector with user interaction required, meaning a victim must open or process the malicious file. Common exposure paths include file managers, document viewers, game asset loaders, and any server-side utility that unpacks user-uploaded archives using zziplib.
No public exploit is listed in Exploit-DB, and the vulnerability is not tracked in the CISA Known Exploited Vulnerabilities catalog. See the VulnCheck Advisory on zziplib OOB Read and the HackMD zziplib OOB Read Analysis for detailed walkthroughs.
Detection Methods for CVE-2026-111142
Indicators of Compromise
- Application crashes or segmentation faults in processes that load libzzip when handling ZIP files.
- Core dumps referencing zzip_disk_entry_strdup_name or zzip_disk_findfirst in the stack trace.
- Unexpected ZIP archives arriving via email, uploads, or shared storage with malformed EOCD offsets.
Detection Strategies
- Audit installed packages for zziplib versions at or below 0.13.80 using distribution package managers.
- Enable AddressSanitizer (ASan) builds in test environments to catch heap over-reads during ZIP parsing.
- Monitor endpoint telemetry for repeated crashes of processes that link against zziplib.
Monitoring Recommendations
- Alert on recurring faults from applications that process user-supplied archives.
- Capture and inspect ZIP uploads at network perimeters for malformed central directory structures.
- Correlate crash events with recent file submissions to identify targeted delivery attempts.
How to Mitigate CVE-2026-111142
Immediate Actions Required
- Identify every application and container image that links libzzip and inventory the installed version.
- Restrict processing of ZIP archives from untrusted sources until a patched build is deployed.
- Run vulnerable services under process isolation or seccomp profiles to limit crash impact.
Patch Information
No official fixed version has been published in the NVD record at the time of writing. Track the upstream GitHub zziplib Repository and the VulnCheck Advisory on zziplib OOB Read for patch releases. Review the vulnerable code regions in mmapped.c lines 323-352 and mmapped.c lines 420-497 when evaluating backported fixes.
Workarounds
- Validate ZIP archive structure with a hardened parser before passing files to zziplib.
- Sandbox utilities that invoke zziplib using containers, chroot, or user namespaces.
- Disable features that automatically parse ZIP metadata on arrival where feasible.
- Replace zziplib with an actively maintained alternative such as libzip for high-risk workflows.
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

