CVE-2026-117556

zchunk before 1.5.5 Heap Out-of-Bounds Read via read_preface()

Published Oct 27, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
zchunk before 1.5.5 contains a heap out-of-bounds read vulnerability in read_preface() in src/lib/header.c that passes the total header length instead of remaining bytes to compint parsing functions. Attackers can supply a crafted .zck file whose header ends inside a compressed integer, causing reads past the heap header buffer and crashing the application.

Analysis

AI-generated

Technical impact

The vulnerability is a heap out-of-bounds read in the read_preface() function of zchunk. A malicious .zck file that terminates its header inside a compressed integer can cause the library to read past the end of its heap header buffer, leading to a crash or denial of service. The flaw is classified as CWE‑125 and does not give an active code‑execution or information disclosure capability beyond application termination.

Affected Systems

All versions of zchunk before 1.5.5 are affected, including the 1.5.4 release and any earlier iterations of the library. The issue is specific to the zchunk project and does not affect other vendors.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the attacker must supply a crafted .zck file to the target application; the attack vector depends on whether the application processes untrusted files locally or over a network. No publicly known exploits exist, but the crash can disrupt services relying on the zchunk library.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the zchunk library to version 1.5.5 or later, which contains the necessary fix in read_preface() and associated parsing functions.
  • If an upgrade is not immediately possible, restrict or validate .zck file inputs: ensure that files adhere to the expected header format before passing them to zchunk, and reject any that fail integrity checks.
  • Monitor the application for unexpected termination or abnormal memory access patterns that could indicate exploitation attempts, and isolate affected systems upon a crash.

Generated by OpenCVE AI on October 27, 2026 at 14:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description zchunk before 1.5.5 contains a heap out-of-bounds read vulnerability in read_preface() in src/lib/header.c that passes the total header length instead of remaining bytes to compint parsing functions. Attackers can supply a crafted .zck file whose header ends inside a compressed integer, causing reads past the heap header buffer and crashing the application.
Title zchunk before 1.5.5 Heap Out-of-Bounds Read via read_preface()
First Time appeared Zchunk
Zchunk zchunk
Weaknesses CWE-125
CPEs cpe:2.3:a:zchunk:zchunk:*:*:*:*:*:*:*:*
Vendors & Products Zchunk
Zchunk zchunk
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 28, 2026, 4:17 PM
Reserved
Oct 27, 2026, 11:25 AM
Status
Deferred
Published
Oct 27, 2026, 2:16 PM
Modified
Oct 28, 2026, 5:18 PM
Severity
Low
Public date
Oct 27, 2026, 1:07 PM