CVE-2026-107731

SumatraPDF: LIT parser range-validation flaws cause invalid-pointer reads and denial of service

Published Oct 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
SumatraPDF is a multi-format reader for Windows. In 3.7.0.22298, four independently reachable range-validation variants in src/LitDoc.cpp allow file-controlled offsets and sizes to overflow, narrow to negative values, or wrap before incomplete bounds checks. The affected calculations include contentOffset, the directory expression dirOff64 + dirLen64, and the decoded-section offset + size, along with secondary-header range handling. Opening a crafted LIT file that reaches one of these variants can cause invalid pointer reads and deterministic application termination. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.

Analysis

AI-generated

Technical impact

Four separate range‑validation bugs in SumatraPDF’s LIT parser allow a crafted file to manipulate offsets and sizes that overflow, wrap or become negative before bounds checks are completed. The resulting invalid pointer read can cause deterministic application termination, delivering a denial‑of‑service scenario. The vulnerability does not expose any remote code execution or data disclosure paths beyond the crash, as the advisory indicates no broader impact beyond the affected conditions.

Affected Systems

The affected product is SumatraPDF version 3.7.0.22298 and later revisions that include the unpatched range‑validation logic in src/LitDoc.cpp. The vendor listed is sumatrapdfreader:sumatrapdf.

Risk and Exploitability

The CVSS score of 5.5 suggests a moderate severity. EPSS is not available, so current exploitation likelihood cannot be quantified. The vulnerability is not listed in CISA KEV. It can be exploited locally by opening a malicious LIT file; an attacker would need access to a system where the user can be tricked into opening the file or the file must be placed in a location the application will read. No fix is available as of the last update, so the mitigation relies on blocking or minimizing exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Avoid opening LIT files from untrusted sources while using SumatraPDF.
  • If the file must be viewed, open the file inside a sandbox or virtual machine to prevent potential crashes from affecting the host system.
  • When a patch or newer version becomes available, upgrade SumatraPDF; in the meantime, consider disabling LIT support if the application provides a setting to do so or switch to an alternative viewer that does not support LIT files.

Generated by OpenCVE AI on October 8, 2026 at 23:37 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': 'none', 'Technical Impact': 'partial'}, '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.7.0.22298, four independently reachable range-validation variants in src/LitDoc.cpp allow file-controlled offsets and sizes to overflow, narrow to negative values, or wrap before incomplete bounds checks. The affected calculations include contentOffset, the directory expression dirOff64 + dirLen64, and the decoded-section offset + size, along with secondary-header range handling. Opening a crafted LIT file that reaches one of these variants can cause invalid pointer reads and deterministic application termination. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.
Title SumatraPDF: LIT parser range-validation flaws cause invalid-pointer reads and denial of service
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

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