CVE-2026-117556medium5.3
zchunk before 1.5.5 Heap Out-of-Bounds Read via read_preface()
The advisory, in context
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.
Affected packages
This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
References
- https://github.com/zchunk/zchunk/issues/119
- https://github.com/zchunk/zchunk
- https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df
- https://github.com/zchunk/zchunk/releases/tag/1.5.5
- https://github.com/zchunk/zchunk/blob/1.5.4/src/lib/header.c#L167
- https://www.vulncheck.com/advisories/zchunk-before-1.5.5-heap-out-of-bounds-read-via-read-preface