{"id":"CVE-2026-55586","published":"2026-08-20T16:35:07Z","modified":"2026-08-21T21:47:17Z","title":"SumatraPDF: Heap out-of-bounds write in vendored CHMLib LZX Huffman table construction reachable from crafted CHM files","vendor":"sumatrapdfreader","product":"sumatrapdf","tier":"tail","description":{"text":"SumatraPDF is a multi-format reader for Windows. In 3.6.1 and earlier, a crafted CHM file can supply malformed LZX Huffman code lengths to make_decode_table in ext/CHMLib/lzx.c. In the long-code branch, the function writes new internal nodes through next_symbol before validating that the canonical Huffman table has overflowed. The PRETREE case can write beyond the 104-entry PRETREE_table into adjacent heap state in struct LZXstate when reached through chm_open, chm_retrieve_object, LZXdecompress, and BUILD_TABLE. This produces heap memory corruption in the parser process, while arbitrary code execution has not been demonstrated. No fixed version is available as of this review.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07093,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-m423-rp8p-whj8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sumatrapdfreader/sumatrapdf/commit/13b3d4204dd12d93d426f2157b157b149edc29bf","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.42},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"sumatrapdfreader","affectedVersions":[{"vendor":"sumatrapdfreader","product":"sumatrapdf","versions":["<= 3.6.1rel"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T20:58:52.272523Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63469","exploited":false,"provenance":"source"}}