{"id":"CVE-2026-117556","summary":"zchunk before 1.5.5 Heap Out-of-Bounds Read via read_preface()","details":"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.","modified":"2026-11-12T17:29:24.981742817Z","published":"2026-10-27T13:07:51.708Z","related":["SUSE-SU-2026:24640-1","SUSE-SU-2026:24657-1","SUSE-SU-2026:5138-1","openSUSE-SU-2026:22250-1"],"database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117556.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117556.json"},{"type":"ADVISORY","url":"https://github.com/zchunk/zchunk/releases/tag/1.5.5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117556"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/zchunk-before-1.5.5-heap-out-of-bounds-read-via-read-preface"},{"type":"REPORT","url":"https://github.com/zchunk/zchunk/issues/119"},{"type":"FIX","url":"https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df"},{"type":"PACKAGE","url":"https://github.com/zchunk/zchunk"},{"type":"ARTICLE","url":"https://github.com/zchunk/zchunk/blob/1.5.4/src/lib/header.c#L167"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zchunk/zchunk","events":[{"introduced":"0"},{"fixed":"ae8e9f5b1e820a906c39f7eaf231e71bef72a3a6"},{"fixed":"02b371a64bf98245df97315d07c684a0ca5ea1df"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.5.5"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"02b371a64bf98245df97315d07c684a0ca5ea1df"}]},{"range":[{"fixed":"ae8e9f5b1e820a906c39f7eaf231e71bef72a3a6"}],"source":"REFERENCES_TAG","original_tag":"1.5.5"}]}}],"versions":["1.5.4","1.5.3","1.5.2","1.5.1","1.5.0","1.4.0","1.3.2","1.3.1","1.3.0","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.16","1.1.15","1.1.13","1.1.12","1.1.11","1.1.10","1.1.9","1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.9.17","0.9.16","0.9.15","0.9.14","0.9.13","0.9.12","0.9.11","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.3","0.6.2","0.6.1","0.6.0","0.5.2","0.5.1","0.5.0","0.4.0","0.3.0","0.2.2","0.2.1","0.2.0"],"database_specific":{"vanir_signatures_modified":"2026-10-30T07:04:21Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-117556.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df","target":{"file":"src/lib/header.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["210706476907011547970629615276551674288","165893997915487296875535868792513053874","192131739789290631333615598345439112805","297148818737006209381642120064595472629","188445758083662032683407594432391437827","249743229854896112055683115364647944835","301939582184848441636980462263385949630","288605504965612171588285517729925121450","327089767718131512811478786532555480223","188339976719312392632532840094187423200","252388913799875166573734533901620848830","170229728976866731423605646503758889068","84093625926291286782506165000626567269","52827746811362135575743024231368111394","30913952893598921059277687795497857192","97101934953599779324172428807400910976","89840305046826919705723074085783223470","253413352334437729205428348254697406960","189403898476306964077123219840198416088","238777375665477979730584438042226350670","321078472342547221311835003622627525662","324163524467125144478956791714154099762","170410360960528254393910426177882105836","154281008083492142447613209793500128063"]},"id":"CVE-2026-117556-14648079"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df","target":{"file":"src/lib/compint.c","function":"compint_to_size"},"deprecated":false,"digest":{"length":738,"function_hash":"28395353033232729245176338948449673777"},"id":"CVE-2026-117556-27e967a1"},{"target":{"function":"read_preface","file":"src/lib/header.c"},"deprecated":false,"digest":{"length":1918,"function_hash":"171656254518025945686236578376691029565"},"id":"CVE-2026-117556-b98c6ba1","signature_type":"Function","signature_version":"v1","source":"https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df"},{"digest":{"threshold":0.9,"line_hashes":["285450371309072243952761767965840943177","234750135128874582428353092595690582614","261940465033274515241801829944208518157","73575668015461218739846940708994631461"]},"id":"CVE-2026-117556-e501318d","signature_type":"Line","signature_version":"v1","source":"https://github.com/zchunk/zchunk/commit/02b371a64bf98245df97315d07c684a0ca5ea1df","target":{"file":"src/lib/compint.c"},"deprecated":false}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}