Skip to main content

SumatraPDF CVE-2026-107732

HIGH
Code Injection (CWE-94)
2026-10-08 GitHub_M
8.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted PDF or filename with tip markup
  2. Delivery
    User opens file in SumatraPDF
  3. Exploit
    ParseTip() renders injected CmdExec link in notification
  4. Execution
    User clicks the injected link
  5. Impact
    Attacker-selected program runs in user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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 the victim open an attacker-controlled document in SumatraPDF 3.6.1 or earlier, where the untrusted document file path or a PDF link target is interpolated into a notification tip that ParseTip() parses as trusted markup, AND that the victim then clicks the attacker-injected link, which causes ExecuteTipLink() to dispatch a CmdExec command. Limiting factors: the vector is local (AV:L) - the malicious file must be opened on the host, not reachable over a network; active user interaction is mandatory (UI:A) - the injected notification link must be clicked, so no silent/automatic execution occurs; and only versions up to and including 3.6.1 are affected. Code runs only with the invoking user's privileges, not elevated.

Impact

This is a genuine code-execution flaw (CWE-94) but its real-world risk is moderate rather than critical, and the signals are consistent once the attack vector is read correctly. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) scores 8.4, but the two factors that cap practical risk are AV:L (the malicious document must be opened on the local machine - this is not network-remote exploitation) and UI:A (the victim must actively click an attacker-injected link inside a SumatraPDF notification tip). PR:N confirms no authentication is needed once the file is opened. There is no EPSS score, no CISA KEV listing, and no weaponized exploit in the input, so there is no evidence of active exploitation - the only exploit-like artifact is a vendor unit test ('a[b](CmdExec calc.exe)c') added in the fix commit to prove the injection, which is a regression test, not a public POC. Signals therefore do not conflict: a high technical impact (arbitrary local program execution in the user's context) is tempered by local-only reach and mandatory user interaction. Note one gap: the description states 'No fixed version is available' yet the input includes fix commit 8b680387 and advisory GHSA-2wv2-qm2f-vmxh, so the patch is committed upstream but apparently not yet in a tagged release - verify release status with the vendor before relying on an update.

Exploit ScenarioDerived

An attacker crafts a PDF (or a file whose path/metadata contains tip markup like '[click](CmdExec calc.exe)') and lures a SumatraPDF 3.6.1-or-earlier user into opening it. SumatraPDF interpolates the attacker-controlled path or link target into a notification tip that ParseTip() treats as trusted markup; when the user clicks the resulting link, ExecuteTipLink() dispatches CmdExec and launches the attacker-chosen local program in the user's context. No public exploit identified at time of analysis - only a vendor regression test demonstrates the injection.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Oct 08, 2026

Local code execution in SumatraPDF 3.6.1 and earlier on Windows is possible when a user opens an attacker-supplied document and then clicks a link inside a SumatraPDF notification popup, because untrusted text (the document path or a PDF link target) is fed into the notification renderer that interprets '(CmdFoo)' markup as a trusted command link. The injected link dispatches a CmdExec command through ExecuteTipLink(), letting the attacker run a chosen local program with the invoking user's own privileges - no elevation, but also no network exposure, since the malicious file must be opened locally and the injected link must be clicked (UI:R/UI:A, AV:L in both the vendor CVSS 4.0 score of 8.4 and our assessed CVSS 3.1 vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). At time of analysis there is no vendor-released patched version; an upstream fix commit exists, and no public exploit code or KEV-listed active exploitation has been identified.

RemediationAI

No vendor-released patched version was identified at time of analysis; the only confirmed fix is upstream commit 8b680387ed69e3504ef296e09d6e032f81076af8, which must be built from source or awaited in a release after 3.6.1. Upstream fix available (PR/commit); released patched version not independently confirmed. Until a patched build is installed, treat untrusted PDFs and other supported document formats as dangerous: only open documents from trusted sources, and never click links inside SumatraPDF notification popups, since that click is the mandatory second step of the exploit chain (no code runs from the mere act of opening a file). Compensating controls with their trade-offs: use AppLocker or WDAC to block SumatraPDF.exe from spawning child processes such as cmd.exe, powershell.exe or calc.exe (effective against the CmdExec primitive but will also break legitimate 'open external link / open containing folder' behaviour); run SumatraPDF with a restricted, low-integrity token or inside a Windows sandbox/AppContainer so any executed program inherits minimal rights (may interfere with file associations, printing and shell integration); and reduce exposure by not making SumatraPDF the default handler for untrusted download sources. Reference the advisory GHSA-2wv2-qm2f-vmxh for vendor updates. No workaround recovers full functionality - the underlying defect is that external text was parsed as trusted markup, which only the upstream commit corrects.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

SumatraPDF's notification system renders message text through VirtRichText and ParseTip(), a lightweight inline markup parser that recognises links of the form [label](CmdFoo), bold markers and (Key/..)/(Kbd/..) shortcuts. Command links are later dispatched by ExecuteTipLink(), which recognises the CmdExec verb and starts an arbitrary local process. The root cause is CWE-94 (improper control of generation of code - here, code-as-markup): strings that originate outside the application, such as the path of the opened document or a link target embedded in a PDF, were concatenated into notification messages and then passed to ParseTip(), so attacker-controlled text could synthesize a legitimate-looking '[x](CmdExec program.exe)' link that the application treated as its own UI. The upstream fix commit 8b680387ed69e3504ef296e09d6e032f81076af8 addresses this by introducing a plainText flag on NotificationCreateArgs so that any message embedding external text (file paths, document metadata, server responses) is displayed verbatim and never parsed, plus a caller-supplied richMsg path for messages that deliberately mix app-authored markup with outside text; AddPlainText/AddPlainLink keep the two sources separated, and regression unit tests assert that a filename containing 'a[b](CmdExec calc.exe)c' produces zero links. Affected CPE: cpe:2.3:a:sumatrapdfreader:sumatrapdf:* (all versions through 3.6.1) on Windows.

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 8.4 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Local because a file must be opened locally (AV:L), link click required (UI:R), no auth (PR:N); arbitrary program execution in user context gives full C/I/A:H with no privilege-boundary crossing (S:U).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/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
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SumatraPDF is a multi-format reader for Windows. In 3.6.1 and earlier, untrusted document paths and PDF link targets are interpolated into notification text that ParseTip() interprets as trusted tip markup. When a user clicks an injected link, ExecuteTipLink() dispatches its CmdExec command and can execute an attacker-selected local program in the user's context. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.

Technical POC Analysis

CWE-94 (improper control of generation of code).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SumatraPDF 3.6.1 and earlier on Windows contains a high-severity local code execution vulnerability that requires a user to open a malicious document and click a link in a notification popup. Successful exploitation allows an attacker to run arbitrary programs with the user's privileges, potentially leading to data theft, malware installation, or further compromise. As no official patch is available yet, organizations using SumatraPDF should prioritize interim mitigations to protect users.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: user awareness training to avoid opening untrusted documents and clicking notification popup links; restrict user privileges; application allowlisting; monitor for suspicious CmdExec behavior; consider disabling SumatraPDF notification feature; apply upstream fix commit via custom build if feasible.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular free Windows PDF reader, broad but not default-everywhere install base
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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

Affected Products (CPE)CVE.org

cpe:2.3:a:sumatrapdfreader:sumatrapdf:*:*:*:*:*:*:*:*
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-2025-57248 HIGH POC
7.3 Sep 15

A null pointer dereference vulnerability was discovered in SumatraPDF 3.5.2 during the processing of a crafted .djvu fil

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-115758 HIGH
8.2 Nov 04

TLS hostname validation is disabled in SumatraPDF 3.6.1 and earlier because HttpGet() unconditionally sets INTERNET_FLAG

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

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