# CVE-2026-55586: SumatraPDF: Heap out-of-bounds write in vendored CHMLib LZX Huffman table construction reachable from crafted CHM files

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-08-20T16:35:07.359Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sumatrapdfreader sumatrapdf: <= 3.6.1rel

## References

- <https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-m423-rp8p-whj8>
- <https://github.com/sumatrapdfreader/sumatrapdf/commit/13b3d4204dd12d93d426f2157b157b149edc29bf>

## Sources

- CVE List: [CVE-2026-55586](https://www.cve.org/CVERecord?id=CVE-2026-55586), CVE Terms of Use, modified 2026-08-21
- NVD: [CVE-2026-55586](https://nvd.nist.gov/vuln/detail/CVE-2026-55586), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-55586 · Whole record: https://cve.day/CVE-2026-55586.json · Rebuilt by cve.day 2026-11-25T22:59:34.665Z
