Skip to main content

SumatraPDF EUVDEUVD-2026-63469

| CVE-2026-55586 MEDIUM
Buffer Overflow (CWE-119)
2026-08-20 GitHub_M
6.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Deliver crafted CHM file to target via phishing or download
  2. Delivery
    Target opens file in SumatraPDF
  3. Exploit
    chm_open invokes LZXdecompress
  4. Install
    make_decode_table processes malformed PRETREE code lengths
  5. C2
    Long-code branch writes beyond 104-entry PRETREE_table
  6. Execute
    Heap corruption in struct LZXstate
  7. Impact
    Process crash or potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a user open a specially crafted CHM (.chm) file in SumatraPDF 3.6.1 or earlier on Windows. The CHM file must contain malformed LZX Huffman code lengths that trigger the long-code branch in make_decode_table and cause PRETREE table construction to exceed its 104-entry boundary. No network-reachable service, authentication, elevated privileges, or non-default configuration is required - the sole prerequisite is user interaction (opening the file). Exploitation is constrained to the SumatraPDF parser process's heap (scope unchanged), and arbitrary code execution beyond heap corruption has not been demonstrated, limiting confirmed worst-case impact to process crash and heap memory corruption.

Impact

The CVSS 3.1 score of 6.6 (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L) correctly frames this as a local, user-triggered file-parsing flaw - exploitation requires convincing a user to open a crafted CHM file, which is the primary friction point. No EPSS score was provided in the available intelligence, and the vulnerability does not appear in the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. The input tags include 'RCE,' but the CVE description explicitly qualifies that arbitrary code execution has not been demonstrated; the I:H CVSS rating therefore reflects potential rather than confirmed capability, and risk assessors should weight this accordingly. The upstream fix commit exists (13b3d4204dd12d93d426f2157b157b149edc29bf) but no tagged release incorporating it has shipped, meaning all production installations on 3.6.1 and earlier remain unpatched. Organizations with CHM-heavy documentation workflows or helpdesk tooling that relies on SumatraPDF for CHM rendering face the most realistic exposure, while general desktop deployments are limited by the social-engineering prerequisite.

Exploit ScenarioDerived

An attacker crafts a CHM file in which the embedded LZX-compressed data supplies malformed PRETREE Huffman code lengths - for example, assigning code length 15 to all PRETREE symbols - and delivers it via a phishing email or malicious download. When the victim opens the file in SumatraPDF 3.6.1, the LZX decompressor invokes make_decode_table, which writes internal tree nodes beyond the 104-entry PRETREE_table into adjacent LZXstate heap memory. The most probable outcome is a parser crash; a worst-case scenario would involve an attacker shaping adjacent heap contents to redirect execution, though this has not been demonstrated publicly.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Heap buffer overflow in SumatraPDF 3.6.1 and earlier enables an attacker who delivers a crafted CHM file to corrupt parser heap memory via malformed LZX Huffman code lengths. The PRETREE path in make_decode_table writes internal Huffman tree nodes beyond the 104-entry PRETREE_table boundary into adjacent struct LZXstate heap memory, reachable through the chm_open → chm_retrieve_object → LZXdecompress → BUILD_TABLE call chain. No public exploit or active exploitation is confirmed; arbitrary code execution has not been demonstrated, though the upstream fix commit validates that reliable heap corruption is achievable.

RemediationAI

No released patched version is available as of this review; the upstream fix exists only as untagged commit 13b3d4204dd12d93d426f2157b157b149edc29bf (https://github.com/sumatrapdfreader/sumatrapdf/commit/13b3d4204dd12d93d426f2157b157b149edc29bf). Monitor the SumatraPDF release page and upgrade immediately upon a release that incorporates this commit. As compensating controls in the interim: disable CHM file-type associations system-wide via Group Policy or AppLocker to prevent SumatraPDF from processing CHM files at all (trade-off: legitimate CHM documentation workflows will break and require an alternative viewer); configure email security gateways and web proxies to quarantine or block .chm file transfers, which eliminates the primary delivery vector with minimal operational impact; if CHM support is not required in the environment, consider switching to an alternative document viewer that does not implement CHM parsing. Users should be advised via security awareness communications not to open CHM files from untrusted or unexpected sources until a patched release is confirmed.

Affected VersionsENISA

sumatrapdf ≤ 3.6.1rel

Affected Packages

euvd sumatrapdf no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SumatraPDF bundles CHMLib to parse Microsoft Compiled HTML Help (.CHM) files, which use the LZX compression algorithm. The flaw is in make_decode_table (ext/CHMLib/lzx.c), which constructs canonical Huffman decode tables from code lengths embedded in the compressed stream. When a crafted CHM supplies malformed LZX Huffman code lengths - such as all PRETREE symbols assigned length 15 - the long-code branch increments next_symbol and writes new internal tree nodes before checking whether the allocation boundary (table_mask + (nsyms << 1)) has been exceeded. This allows out-of-bounds writes into heap memory adjacent to the 104-entry PRETREE_table within the heap-allocated struct LZXstate. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) is the root-cause class. The upstream fix, visible in commit 13b3d4204dd12d93d426f2157b157b149edc29bf, adds a bounds check: if ((next_symbol << 1) + 1 >= table_elems) return 1; - confirming the write-before-validate pattern. Affected CPE: cpe:2.3:a:sumatrapdfreader:sumatrapdf:*:*:*:*:*:*:*:*.

Know when Sumatrapdf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.6 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
vuln.today AI 7.3 HIGH

File must be opened locally (AV:L, UI:R); no privileges needed to open a file (PR:N); overflow trigger is simple (AC:L); heap corruption reliably crashes the process (A:H) and could corrupt adjacent state (I:H).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular Windows document reader, widely used but not enterprise-ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-23512 HIGH POC
8.6 Jan 14

SumatraPDF 3.5.2 and earlier on Windows contains an untrusted search path vulnerability in the Advanced Options feature

CVE-2026-25880 HIGH POC
7.8 Feb 09

SumatraPDF 3.5.2 and earlier on Windows allows arbitrary code execution when a user opens a PDF and selects "Show in fol

CVE-2026-25961 HIGH POC
7.5 Feb 09

SumatraPDF versions 3.5.0 through 3.5.2 fail to validate TLS certificates during software updates and execute installers

CVE-2012-4896 CRITICAL
9.3 Oct 05

Heap-based buffer overflow in SumatraPDF before 2.1 allows remote attackers to execute arbitrary code via a crafted PDF

CVE-2012-4895 CRITICAL
9.3 Oct 05

Heap-based buffer overflow in SumatraPDF before 2.1 allows remote attackers to execute arbitrary code via a crafted PDF

CVE-2026-25920 MEDIUM POC
5.5 Feb 09

SumatraPDF versions 3.5.2 and earlier are vulnerable to a heap buffer over-read in the MOBI file parser due to incomplet

CVE-2026-23951 MEDIUM POC
5.5 Jan 22

SumatraPDF on Windows is vulnerable to a denial-of-service attack through a maliciously crafted Mobi file that triggers

CVE-2023-33802 MEDIUM POC
5.5 Jul 26

A buffer overflow in SumatraPDF Reader v3.4.6 allows attackers to cause a Denial of Service (DoS) via a crafted text fil

CVE-2026-107732 HIGH
8.4 Oct 08

Local code execution in SumatraPDF 3.6.1 and earlier on Windows is possible when a user opens an attacker-supplied docum

CVE-2026-88361 HIGH
7.5 Sep 24

Parsing a malformed PDF in SumatraPDF 3.6.1 can crash the reader through a signed integer overflow in the PageLabels han

CVE-2026-107734 HIGH
7.1 Oct 08

Command-line argument injection in SumatraPDF 3.5.2 and earlier lets an attacker-controlled SyncTeX source filename esca

CVE-2026-107802 HIGH
7.1 Oct 08

Argument injection in the AI translation feature of SumatraPDF 3.6.1 and earlier allows text placed in a document select

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy