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

Published Aug 20, 2026
·
Updated

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 makedecodetable in ext/CHMLib/lzx.c. In the long-code branch, the function writes new internal nodes through nextsymbol before validating that the canonical Huffman table has overflowed. The PRETREE case can write beyond the 104-entry PRETREEtable into adjacent heap state in struct LZXstate when reached through chmopen, chmretrieveobject, LZXdecompress, and BUILDTABLE. 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.

Affected Software

1 affected component
SumatraPDF SumatraPDF<=3.6.1

Event History

Aug 20, 2026
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of SumatraPDF 3.6.1 and earlier are exposed when the application parses a crafted CHM file. The vulnerable path is reached during CHM opening and object retrieval, so exposure depends on opening attacker-supplied or otherwise untrusted CHM content.

2

What does an attacker need to exploit it?

An attacker needs to persuade a user to open a specially crafted CHM file. No attacker privileges are required, but user interaction is required and the vulnerable processing occurs locally in the SumatraPDF parser process.

3

What is the expected impact?

The malformed CHM data can cause an out-of-bounds heap write into adjacent state during LZX Huffman table construction, resulting in heap memory corruption. Arbitrary code execution has not been demonstrated.

4

What can be done if a fixed release is not available?

No fixed version is available as of the review. Avoid opening CHM files from untrusted sources and restrict delivery or access to untrusted CHM attachments and downloads where possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203