CVE-2026-55586: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in sumatrapdfreader sumatrapdf
CVE-2026-55586 is a medium severity heap memory corruption vulnerability in SumatraPDF 3.6.1 and earlier. It arises from improper bounds checking in the LZX Huffman decoding process when parsing crafted CHM files. This flaw can cause writes beyond allocated buffer limits in the PRETREE_table, potentially corrupting adjacent heap memory. While arbitrary code execution has not been demonstrated, the vulnerability impacts the integrity and availability of the parser process. No official fix or patch is currently available.
AI Analysis
Technical Summary
SumatraPDF versions 3.6.1 and earlier contain a heap buffer overflow vulnerability in the LZX decompression code used for CHM files. Specifically, malformed LZX Huffman code lengths can cause the make_decode_table function in ext/CHMLib/lzx.c to write new internal nodes beyond the 104-entry PRETREE_table buffer into adjacent heap memory within the LZXstate structure. This occurs because the function writes through next_symbol before validating that the canonical Huffman table has overflowed. The vulnerability can be triggered via the chm_open, chm_retrieve_object, LZXdecompress, and BUILD_TABLE code paths. Although this leads to heap memory corruption, no public proof of arbitrary code execution exploitation exists. No patch or remediation has been published as of the review date.
Potential Impact
The vulnerability causes heap memory corruption in the SumatraPDF parser process when opening specially crafted CHM files. This can lead to application instability or crashes (availability impact) and may allow an attacker to manipulate internal memory structures (integrity impact). Confidentiality impact is low. There is no evidence of arbitrary code execution exploitation in the wild or demonstrated by researchers.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should avoid opening untrusted or suspicious CHM files with affected versions of SumatraPDF. Monitor vendor advisories for updates or patches. Since this is a local attack vector requiring user interaction, exercising caution with file sources reduces risk.
CVE-2026-55586: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in sumatrapdfreader sumatrapdf
Description
CVE-2026-55586 is a medium severity heap memory corruption vulnerability in SumatraPDF 3.6.1 and earlier. It arises from improper bounds checking in the LZX Huffman decoding process when parsing crafted CHM files. This flaw can cause writes beyond allocated buffer limits in the PRETREE_table, potentially corrupting adjacent heap memory. While arbitrary code execution has not been demonstrated, the vulnerability impacts the integrity and availability of the parser process. No official fix or patch is currently available.
CVSS v3.1
Score 6.6medium
Affected software
pkg:github/sumatrapdfreader/sumatrapdfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SumatraPDF versions 3.6.1 and earlier contain a heap buffer overflow vulnerability in the LZX decompression code used for CHM files. Specifically, malformed LZX Huffman code lengths can cause the make_decode_table function in ext/CHMLib/lzx.c to write new internal nodes beyond the 104-entry PRETREE_table buffer into adjacent heap memory within the LZXstate structure. This occurs because the function writes through next_symbol before validating that the canonical Huffman table has overflowed. The vulnerability can be triggered via the chm_open, chm_retrieve_object, LZXdecompress, and BUILD_TABLE code paths. Although this leads to heap memory corruption, no public proof of arbitrary code execution exploitation exists. No patch or remediation has been published as of the review date.
Potential Impact
The vulnerability causes heap memory corruption in the SumatraPDF parser process when opening specially crafted CHM files. This can lead to application instability or crashes (availability impact) and may allow an attacker to manipulate internal memory structures (integrity impact). Confidentiality impact is low. There is no evidence of arbitrary code execution exploitation in the wild or demonstrated by researchers.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should avoid opening untrusted or suspicious CHM files with affected versions of SumatraPDF. Monitor vendor advisories for updates or patches. Since this is a local attack vector requiring user interaction, exercising caution with file sources reduces risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T23:18:03.169Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8730d9acd9273b49e17189
Added to database: 08/20/2026, 16:52:41 UTC
Last enriched: 08/20/2026, 17:08:10 UTC
Last updated: 08/20/2026, 17:35:48 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.