CVE-2026-23512CWE-426

SumatraPDF has an Untrusted Search Path in sumatrapdf/src/AppTools.cpp

High · published January 14, 2026

CVSS v3.1
8.6
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

⚡ A sneaky untrusted search path vulnerability in SumatraPDF could allow attackers to run malicious code with a simple click! 🔥 Think of it like a restaurant that serves a special dish called 'notepad.' If the chef isn't careful about checking the source of their ingredients, they might unwittingly use a toxic version instead of the safe one. In this case, the application executes a notepad.exe without verifying its origin, leading to serious consequences. This vulnerability can be absolutely devastating - an attacker could place a malicious notepad.exe in the application’s installation directory, leading to arbitrary code execution. This means they could potentially take complete control of the system, steal sensitive information, or cause other havoc without anyone knowing!

Put simply

Think of it like a restaurant that serves a special dish called 'notepad.' If the chef isn't careful about checking the source of their ingredients, they might unwittingly use a toxic version instead of the safe one. In this case, the application executes a notepad.exe without verifying its origin, leading to serious consequences. The flaw exists in versions 3.5.2 and earlier of SumatraPDF when using the Advanced Options setting, allowing the application to execute notepad.exe without an absolute path, making it susceptible to code execution of a malicious binary.

What to do

This vulnerability can be absolutely devastating - an attacker could place a malicious notepad.exe in the application’s installation directory, leading to arbitrary code execution. This means they could potentially take complete control of the system, steal sensitive information, or cause other havoc without anyone knowing! To protect yourself, update SumatraPDF to version 3.5.3 or later immediately. Additionally, consider reviewing your application's directory to ensure that no unauthorized executables are present. Always be vigilant about where sensitive applications are installed! You've got this! With these steps, you'll shore up your defenses in no time. 🛡️

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.8th percentile
Weakness
CWE-426 · Untrusted Search Path
Published
2026-01-14T20:31Z
EPSS history
Timeline
  • 14 JAN 20:31Z
    SumatraPDF has an Untrusted Search Path in sumatrapdf/src/AppTools.cpp
    cvelistv5