CVE-2026-107734

SumatraPDF: SyncTeX Argument Injection in Inverse Search Enables Arbitrary Command Execution via External Editors

Published Oct 8, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SumatraPDF is a multi-format reader for Windows. In 3.5.2 and earlier, an attacker-controlled SyncTeX source filename is substituted for the %f placeholder in an external editor command line without safe Windows argument quoting, and the resulting command line is passed to CreateProcessW(). A user with an external editor configured or auto-detected who opens a PDF with a crafted .synctex.gz file and invokes inverse search can inject command-line flags; the resulting impact depends on the target editor interpreting those flags and can include unintended editor actions or code execution through a malicious extension. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.

Analysis

AI-generated

Technical impact

The flaw exists in SumatraPDF versions up to 3.5.2 and earlier. An attacker‑controlled SyncTeX source filename is substituted for the %f placeholder in the external editor command line, and the resulting string is passed unquoted to CreateProcessW. This allows injection of command‑line flags that can trigger unintended editor actions or execute code through a malicious extension when a user opens a PDF that triggers inverse search.

Affected Systems

The vulnerability affects Windows computers running SumatraPDF Reader, specifically versions 3.5.2 and earlier. No patched release is available at the time of this advisory, and the vendor has not issued a fix through the cited advisory.

Risk and Exploitability

The CVSS score of 7.1 reflects moderate severity. The EPSS score is not available, but the requirement for user interaction and the specific context of opening a crafted PDF file limits the likelihood of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local, relying on a user who has an external editor configured or auto‑detected and who opens a PDF with the malicious .synctex.gz file, potentially leading to code execution dependent on the editor’s handling of injected flags.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • When a patch is released, upgrade SumatraPDF to the latest stable version available from the official repository.
  • Disable external editor support or inverse search in SumatraPDF’s settings to prevent the vulnerable command from being executed.
  • Avoid opening PDF files or associated .synctex.gz files from untrusted or unknown sources until a fix is available.

Generated by OpenCVE AI on October 8, 2026 at 23:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sumatrapdfreader
Sumatrapdfreader sumatrapdf
Vendors & Products Sumatrapdfreader
Sumatrapdfreader sumatrapdf
Type Values Removed Values Added
Description SumatraPDF is a multi-format reader for Windows. In 3.5.2 and earlier, an attacker-controlled SyncTeX source filename is substituted for the %f placeholder in an external editor command line without safe Windows argument quoting, and the resulting command line is passed to CreateProcessW(). A user with an external editor configured or auto-detected who opens a PDF with a crafted .synctex.gz file and invokes inverse search can inject command-line flags; the resulting impact depends on the target editor interpreting those flags and can include unintended editor actions or code execution through a malicious extension. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.
Title SumatraPDF: SyncTeX Argument Injection in Inverse Search Enables Arbitrary Command Execution via External Editors
Weaknesses CWE-20
CWE-88
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 9, 2026, 3:44 PM
Reserved
Oct 8, 2026, 5:21 PM
Status
Deferred
Published
Oct 8, 2026, 11:16 PM
Modified
Oct 9, 2026, 4:17 PM