CVE-2026-26054: SumatraPDF: Heap out-of-bounds read in MOBI header parser.

Published Sep 24, 2026
·
Updated

SumatraPDF is a multi-format reader for Windows. Prior to 3.6, the MobiDoc::ParseHeader function in src/MobiDoc.cpp validates a record using kMobiHeaderMinLen but DecodeMobiDocHeader constructs a decoder sized for kMobiHeaderLen without receiving the actual remaining buffer length. A malformed MOBI file can use an attacker-controlled header length to bypass optional-field early returns and cause the decoder to read beyond a short heap buffer. Opening the crafted document can crash SumatraPDF. This issue is fixed in version 3.6.

Affected Software

1 affected component
SumatraPDF SumatraPDF<3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SumatraPDF to a version that resolves this vulnerability.

    Fixed in 3.6

Event History

Sep 24, 2026
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations are affected?

SumatraPDF versions prior to 3.6 are affected. The issue is fixed in version 3.6.

2

What does an attacker need to exploit this issue?

An attacker needs to provide a malformed MOBI document with an attacker-controlled header length and have it opened in SumatraPDF.

3

Are users affected under the default document-opening workflow?

Yes. The described trigger is opening a crafted MOBI file; no additional configuration requirement is identified.

4

What is the observed impact?

Opening the crafted document can cause SumatraPDF to read beyond a short heap buffer and crash.

5

What should be done if an upgrade cannot be applied immediately?

Do not open untrusted MOBI files with affected SumatraPDF versions until version 3.6 can be deployed.

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