CVE-2026-107734: CWE-20: Improper Input Validation in sumatrapdfreader sumatrapdf
Description
SumatraPDF versions 3.5.2 and earlier contain an improper input validation vulnerability involving the handling of SyncTeX source filenames. An attacker can craft a .synctex.gz file that, when used with an external editor configured for inverse search, allows injection of command-line flags due to unsafe argument quoting. This can lead to unintended editor behavior or code execution through malicious editor extensions. No fixed version is available as of the advisory date.
CVSS v4.0
Score 7.1high
Affected software
sumatrapdfreader
sumatrapdf
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
CVE-2026-107734 describes an improper input validation vulnerability (CWE-20) in SumatraPDF up to version 3.5.2. The issue arises when an attacker-controlled SyncTeX source filename is substituted into an external editor command line without proper Windows argument quoting, and the command is executed via CreateProcessW(). This allows injection of command-line flags that the target editor may interpret, potentially causing unintended actions or code execution if the editor supports malicious extensions. The vulnerability requires a user to open a crafted PDF with a malicious .synctex.gz file and invoke inverse search with an external editor configured or auto-detected. No broader impacts beyond this scenario are claimed. No patch or fix is currently available.
Potential Impact
The vulnerability can lead to unintended editor actions or code execution within the context of the external editor invoked by SumatraPDF. The impact depends on the target editor's interpretation of injected command-line flags and the presence of malicious extensions. There is no indication of broader system compromise or impact beyond the external editor process. Exploitation requires user interaction and specific conditions (configured external editor and crafted SyncTeX file).
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should avoid opening PDFs with untrusted or suspicious .synctex.gz files when using SumatraPDF with an external editor configured for inverse search. Monitoring vendor advisories for updates or patches is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-08T17:21:52.976Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac81a602cdf04f6563e4d02
Added to database: 10/08/2026, 22:34:08 UTC
Last enriched: 10/08/2026, 22:48:41 UTC
Last updated: 10/08/2026, 22:49:04 UTC
Views: 9
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.