Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107733 Overview
CVE-2026-107733 is a null pointer dereference vulnerability [CWE-476] in SumatraPDF, a multi-format document reader for Windows. In version 3.6.1 and earlier, the FrameOnCommand() function dispatches CmdExec by passing a null current-tab pointer to RunWithExe(), which then dereferences WindowTab::filePath. A local process running at an integrity level equal to or greater than SumatraPDF's can trigger the crash through Dynamic Data Exchange (DDE) or WM_COPYDATA messages while no document tab is open. The result is abrupt process termination and loss of unsaved state.
Critical Impact
Local attackers with same-session access can crash SumatraPDF on demand, causing denial of service and loss of unsaved user state.
Affected Products
- SumatraPDF 3.6.1
- SumatraPDF versions prior to 3.6.1
- No fixed version was available as of the advisory review
Discovery Timeline
- 2026-10-08 - CVE-2026-107733 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-107733
Vulnerability Analysis
The flaw lives in SumatraPDF's command dispatch path. When SumatraPDF receives a CmdExec instruction through an inter-process channel, FrameOnCommand() forwards the request to RunWithExe() using the active WindowTab* pointer. If no document is open, that pointer is nullptr. RunWithExe() immediately accesses tab->filePath to evaluate PathMatchFilter, dereferencing the null pointer and terminating the process.
The trigger is reachable through two standard Windows inter-process mechanisms: DDE and WM_COPYDATA. Both channels are commonly used by SumatraPDF to accept external commands from scripts and shell integrations. User Interface Privilege Isolation (UIPI) restricts cross-integrity-level messaging, so the attacking process must run at an integrity level greater than or equal to SumatraPDF's within the same interactive session.
Impact is bounded to availability. The advisory does not claim memory disclosure, code execution, or privilege escalation. The practical consequence is a reliable, remotely dispatched crash that discards any unsaved annotations or view state in the target process.
Root Cause
The root cause is missing input validation on the tab parameter in RunWithExe(). The function assumes a valid WindowTab instance but is called by FrameOnCommand() even when the current tab is null. There is no guard clause before the first dereference of tab->filePath.
Attack Vector
An attacker with code execution in the same interactive Windows session sends a CmdExec command to SumatraPDF through DDE or WM_COPYDATA while the application has no document tab open. SumatraPDF processes the message, enters FrameOnCommand(), calls RunWithExe(nullptr, ...), and crashes on the null dereference.
// Security patch in src/ExternalViewers.cpp
// Prevents CmdExec crash when no document tab is open
bool RunWithExe(WindowTab* tab, Str cmdLine, Str filter) {
+ if (!tab) {
+ return false;
+ }
if (!PathMatchFilter(tab->filePath, filter)) {
return false;
}
Source: GitHub commit 013ad659
Detection Methods for CVE-2026-107733
Indicators of Compromise
- Unexpected SumatraPDF.exe process crashes recorded in the Windows Application event log with faulting module references to ExternalViewers.
- Windows Error Reporting (WER) entries for SumatraPDF.exe with exception code 0xC0000005 (access violation) at a near-zero fault address.
- DDE conversations or WM_COPYDATA messages targeting SumatraPDF windows originating from non-interactive or unexpected local processes.
Detection Strategies
- Monitor process termination events for SumatraPDF.exe and correlate with preceding window message activity from sibling processes in the same session.
- Alert on repeated SumatraPDF crashes from the same parent or sibling process, which may indicate scripted abuse of the CmdExec dispatch path.
- Review installed SumatraPDF versions across endpoints and flag any instance at 3.6.1 or earlier until a fixed build is published.
Monitoring Recommendations
- Enable Windows Error Reporting collection and forward WER telemetry to a central log store for crash pattern analysis.
- Track inter-process messaging activity targeting document reader windows using EDR telemetry.
- Baseline normal DDE usage for document readers and alert on anomalous senders.
How to Mitigate CVE-2026-107733
Immediate Actions Required
- Inventory all endpoints running SumatraPDF 3.6.1 or earlier and prioritize them for update once a fixed version ships.
- Restrict local execution rights so that only trusted processes run in interactive user sessions alongside SumatraPDF.
- Educate users to save work frequently in SumatraPDF until a patched build is available.
Patch Information
No fixed release was available as of the advisory review. The upstream fix is implemented in GitHub commit 013ad659, which adds a null check for the tab parameter at the top of RunWithExe(). Track the GitHub Security Advisory GHSA-p2ph-2rvm-q37m for release availability.
Workarounds
- Keep at least one document tab open in SumatraPDF to avoid the null-tab code path that triggers the crash.
- Disable or block DDE and third-party automation integrations that send CmdExec to SumatraPDF where not operationally required.
- Run SumatraPDF at the highest integrity level available in the session to limit which local processes can send UIPI-permitted messages to it.
# Verify installed SumatraPDF version on Windows endpoints
(Get-Item "C:\Program Files\SumatraPDF\SumatraPDF.exe").VersionInfo.ProductVersion
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

