CVE-2026-107729: SumatraPDF: Unsigned-to-signed hdrLen validation bypass in SumatraPDF MOBI parsing causes out-of-bounds read

Published Oct 8, 2026
·
Updated

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 INTMAX 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.

Affected Software

1 affected component
SumatraPDF SumatraPDF=3.7.0.22298

Event History

Oct 8, 2026
CVE Published
via MITRE·10:18 PM
Data Sourced
via MITRE·10:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to trigger the crash?

A user must open a crafted MOBI file. The file must use an oversized hdrLen value above INT_MAX and set the EXTH flag so that the unchecked unsigned length is used as an offset during EXTH header decoding.

2

What is the practical impact?

The demonstrated impact is a reliable native access violation that terminates SumatraPDF. Code execution, information disclosure, and integrity impact have not been demonstrated.

3

Are users protected by updating SumatraPDF?

No fixed version is available as of the review. The affected code is identified in SumatraPDF 3.7.0.22298.

4

What can be done while no fixed version is available?

Avoid opening untrusted MOBI files, particularly files received from unverified sources. This limits the user-interaction path required to trigger the out-of-bounds read.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203