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.
Published: 2026-10-27
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Heap Out-of-Bounds Read
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 13:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T13:07:51.708Z

Reserved: 2026-10-27T11:25:20.941Z

Link: CVE-2026-117556

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T14:16:36.340

Modified: 2026-10-27T14:16:36.340

Link: CVE-2026-117556

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T15:00:05Z

Weaknesses