CVE-2026-26054

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

Published Sep 24, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the MobiDoc::ParseHeader function failing to validate the header length against the actual remaining buffer before constructing a decoder. An attacker can create a MOBI file that specifies an excessively large header length, causing the decoder to read beyond the allocated heap buffer. This out‑of‑bounds read triggers a crash when a user opens the malicious document, resulting in a denial of service. No direct exploitation of confidentiality or integrity is described; the damage is limited to application availability.

Affected Systems

This flaw affects SumatraPDF readers using versions earlier than 3.6. The patch is included in release 3.6; any installation with 3.5 or earlier is vulnerable.

Risk and Exploitability

With a CVSS score of 6.8 the vulnerability is considered moderate. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, implying limited publicly documented exploitation. The attack vector is local or social engineering – an attacker must supply the crafted file and persuade a user to open it. While RCE is not possible, the crash can be leveraged to disrupt users or services that rely on SumatraPDF for document processing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update SumatraPDF to version 3.6 or newer.
  • Avoid opening unknown MOBI files; consider scanning them with antivirus before viewing.
  • Run SumatraPDF in a sandboxed or restricted environment to limit the effect of a crash.

Generated by OpenCVE AI on September 25, 2026 at 06:47 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': 'poc', '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. 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.
Title SumatraPDF: Heap out-of-bounds read in MOBI header parser.
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 3:33 PM
Reserved
Feb 10, 2026, 6:01 PM
Status
Deferred
Published
Sep 24, 2026, 5:17 PM
Modified
Sep 28, 2026, 4:17 PM