{"id":"CVE-2026-55586","aliases":["CVE-2026-55586"],"related":[],"kind":"vulnerability","state":"published","title":"SumatraPDF: Heap out-of-bounds write in vendored CHMLib LZX Huffman table construction reachable from crafted CHM files","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"SumatraPDF es un lector multiformato para Windows. En la versión 3.6.1 y anteriores, un archivo CHM manipulado puede suministrar longitudes de código Huffman LZX malformadas a make_decode_table en ext/CHMLib/lzx.c. En la rama de código largo, la función escribe nuevos nodos internos a través de next_symbol antes de validar que la tabla Huffman canónica ha desbordado. El caso PRETREE puede escribir más allá de la tabla PRETREE de 104 entradas en el estado de pila adyacente en la estructura LZXstate cuando se accede a través de chm_open, chm_retrieve_object, LZXdecompress y BUILD_TABLE. Esto produce corrupción de memoria en el montículo en el proceso del analizador, mientras que la ejecución de código arbitrario no ha sido demostrada. No hay una versión corregida disponible a partir de esta revisión.","source":"nvd"}],"published":"2026-08-20T16:35:07.359Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.6,"rating":"MEDIUM"}],"cwes":["CWE-119","CWE-787"],"affected":[{"ranges":[{"version":"<= 3.6.1rel","status":"affected"}],"vendor":"sumatrapdfreader","product":"sumatrapdf","source":"cvelist"}],"references":[{"url":"https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-m423-rp8p-whj8","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sumatrapdfreader/sumatrapdf/commit/13b3d4204dd12d93d426f2157b157b149edc29bf","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-21T20:58:52.272Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55586","url":"https://www.cve.org/CVERecord?id=CVE-2026-55586","licence":"CVE Terms of Use","modified":"2026-08-21T21:47:17.240Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55586","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55586","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.665Z","epss":{"score":0.00174,"percentile":0.04033,"date":"2026-11-30T12:00:22.000Z"}}