Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107730 Overview
CVE-2026-107730 is an integer overflow vulnerability [CWE-190] in SumatraPDF, a multi-format document reader for Windows. The flaw resides in the LitParseHeader() function in src/LitDoc.cpp within version 3.7.0.22298. The function computes a section offset using the expression hdrLen + nPieces * 16 with signed 32-bit arithmetic, without validating the aggregate result. A crafted LIT file that forces the computation to overflow to a negative value causes LitU32() to construct an invalid pointer and perform an out-of-bounds read, terminating the application.
Critical Impact
Local attackers can trigger deterministic denial of service by convincing a user to open a malicious LIT file. No code execution, memory disclosure, or integrity impact has been demonstrated.
Affected Products
- SumatraPDF 3.7.0.22298
- src/LitDoc.cpp LIT (Microsoft Reader) parser component
- No fixed version is available as of this review
Discovery Timeline
- 2026-10-08 - CVE-2026-107730 published to NVD
- 2026-10-09 - Last updated in NVD database
Technical Details for CVE-2026-107730
Vulnerability Analysis
The vulnerability affects SumatraPDF's parser for Microsoft LIT eBook files. The LitParseHeader() function reads two attacker-controlled values from the LIT header: hdrLen and nPieces. It then computes a section offset using hdrLen + nPieces * 16 in signed 32-bit arithmetic. When an attacker supplies large values, the multiplication and addition overflow, producing a negative result.
The negative offset is passed to LitU32(), which performs bounds checking using off + 4 > len(d). Because off is already a negative 32-bit integer, the addition does not promote to a wider type, and the comparison fails to detect the invalid state. The function dereferences d.s + off, triggering an invalid read that terminates the process.
Root Cause
The root cause is missing validation of a signed 32-bit arithmetic result derived from untrusted file input. The bounds-checking helpers LitU16() and LitU32() performed the critical comparison off + N > len(d) without widening off to a 64-bit integer, allowing a negative offset to bypass the check.
Attack Vector
Exploitation requires local file access and user interaction. An attacker crafts a malicious LIT document with header fields that trigger the overflow, then delivers the file through email, download, or shared storage. When a user opens the file in SumatraPDF, the parser crashes deterministically.
//--- little-endian readers with bounds checking
static u32 LitU16(Str d, int off) {
- if (off < 0 || off + 2 > len(d)) {
+ if (off < 0 || (i64)off + 2 > len(d)) {
return 0;
}
const u8* p = (const u8*)d.s + off;
return (u32)p[0] | ((u32)p[1] << 8);
}
static u32 LitU32(Str d, int off) {
- if (off < 0 || off + 4 > len(d)) {
+ if (off < 0 || (i64)off + 4 > len(d)) {
return 0;
}
const u8* p = (const u8*)d.s + off;
Source: SumatraPDF commit 10a83278. The patch promotes off to a 64-bit integer before the bounds comparison, preventing the signed arithmetic from producing a value that bypasses the check.
Detection Methods for CVE-2026-107730
Indicators of Compromise
- Unexpected SumatraPDF.exe process termination immediately after opening a .lit file
- Windows Error Reporting (WER) crash dumps referencing LitDoc.cpp or LitU32
- LIT files from untrusted sources with abnormally large hdrLen or nPieces header fields
Detection Strategies
- Monitor endpoint telemetry for repeated SumatraPDF.exe crashes correlated with LIT file access events
- Inspect inbound .lit attachments in email and web gateways and flag files with malformed Microsoft Reader headers
- Hunt for process exit events with non-zero exit codes originating from document reader processes handling user-supplied files
Monitoring Recommendations
- Enable application crash telemetry collection on endpoints running SumatraPDF 3.7.0.22298
- Correlate file open events for .lit extensions with subsequent process termination within short time windows
- Review the GitHub Security Advisory GHSA-vfpj-qhvj-92wg for updated indicators
How to Mitigate CVE-2026-107730
Immediate Actions Required
- Restrict handling of LIT files from untrusted sources until a patched release is available
- Apply the upstream patch from commit 10a83278a5a6f67194dedfb67c47474d22ecfe4b if building SumatraPDF from source
- Advise users to avoid opening unsolicited .lit attachments
Patch Information
No fixed release version is available as of this review. The upstream fix is tracked in SumatraPDF commit 10a83278 and documented in GitHub Security Advisory GHSA-vfpj-qhvj-92wg. Organizations building from source should cherry-pick the fix into their deployment pipeline.
Workarounds
- Disassociate the .lit file extension from SumatraPDF through file association policies
- Block delivery of .lit attachments at email and web gateways where business use is not required
- Run SumatraPDF with reduced privileges or in an application sandbox to limit the impact of parser crashes
# Remove the .lit file association for SumatraPDF (per-user, PowerShell)
Reg Delete "HKCU\Software\Classes\.lit" /f
Reg Delete "HKCU\Software\Classes\SumatraPDF.lit" /f
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

