CVE-2026-55586

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

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) 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.

Information

Published : 2026-08-20 17:18

Updated : 2026-10-18 20:10


NVD link : CVE-2026-55586

Mitre link : CVE-2026-55586

CVE.ORG link : CVE-2026-55586


JSON object : View

Products Affected

No product.

CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-787

Out-of-bounds Write