SumatraPDF: TLS hostname validation disabled in `HttpGet()`
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 4, 2026
- Updated
- Nov 9, 2026
- Reserved
- Oct 23, 2026
Description
SumatraPDF is a multi-format reader for Windows. In version 3.6.1 and earlier, HttpGet() in src/base/Http_win.cpp unconditionally passes INTERNET_FLAG_IGNORE_CERT_CN_INVALID to WinINet, disabling hostname matching for HTTPS update metadata and crash-symbol requests while retaining certificate-chain validation. A network-positioned attacker with a Windows-trusted certificate for an attacker-controlled domain can impersonate the project's update host, inject promo text and a clickable URL before update metadata validation, and provide an attacker-controlled archive to ExtractSymbols(). Installer replacement is not directly possible because HttpGetToFile() validates TLS and MaybeStartUpdateDownload() restricts the download host. No fixed version is available as of this review.
| Product | Versions |
|---|---|
| sumatrapdf sumatrapdfreader | <= 3.6.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.2 High | GitHub_M |
Weaknesses
- CWE-297 Improper Validation of Certificate with Host Mismatch
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.