Medium severity · published Oct 8, 2026
CVE-2026-107729
SumatraPDF: Unsigned-to-signed hdrLen validation bypass in SumatraPDF MOBI parsing causes out-of-bounds read
5.5
CVSS
0.1%
EPSS
No
On KEV
Description
SumatraPDF is a multi-format reader for Windows. In 3.7.0.22298, src/MobiDoc.cpp narrows the untrusted unsigned mobiHdr.hdrLen field to a signed integer for validation; values above INT_MAX become negative and bypass the upper-bound check. When the EXTH flag is set, the original unsigned value is reused as a pointer offset, causing DecodeExthHeader() to read beyond the record buffer. Opening a crafted MOBI file can reliably terminate the application with a native access violation; no code execution, information disclosure, or integrity impact has been demonstrated. No fixed version is available as of this review.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
sumatrapdf · sumatrapdfreader
<= 3.7.0.22298 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107729
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107729
x_refsource_CONFIRM
https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-86hq-m6hv-67h2
x_refsource_MISC
https://github.com/sumatrapdfreader/sumatrapdf/commit/1ef900cbad02f06353b0a0747b098ca596f7c131
More from sumatrapdf
8.4
CVE-2026-107732
SumatraPDF: Markup/command-link injection into UI notification text
7.8
CVE-2026-25880
Untrusted Search Path in SumatraPDF Reader (explorer.exe on Windows)
7.8
CVE-2026-23512
SumatraPDF has an Untrusted Search Path in sumatrapdf/src/AppTools.cpp
7.8
CVE-2012-5340
SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file
7.8
CVE-2013-2830
Use-after-free vulnerability in SumatraPDF Reader 2.x before 2.2.1 allows remote attackers to execute arbitrary code via a crafted PDF file
