CVE-2026-107729

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

Published Oct 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An unsigned integer field in the MOBI header is cast to a signed type for bounds checking, allowing values larger than INT_MAX to become negative and bypass validation. When the EXTH flag is set the original unsigned value is used as a pointer offset, causing the decoder to read past the end of the buffer. Opening a crafted MOBI file reliably leads to a native access‑violation that crashes the application, but no evidence of code execution or information disclosure exists.

Affected Systems

The issue resides in SumatraPDF version 3.7.0.22298. Users running this exact build on Windows are affected. No other versions are listed, and no fixed version is available at the time of review.

Risk and Exploitability

The CVSS score is 5.5, indicating a moderate risk of disruption. EPSS data is unavailable, and the vulnerability is not listed in CISA KEV. The attack requires a user to open a malicious MOBI file, so the vector is local and only relevant to end‑users or compromised file distributions. The exploit is straightforward once a suitable file is presented, but it results only in an application crash without code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable or remove MOBI file support in SumatraPDF if the feature is not required.
  • Avoid opening or executing suspicious MOBI files obtained from untrusted sources.
  • Contact SumatraPDF developers or monitor their repository for a released fix and upgrade when available.

Generated by OpenCVE AI on October 8, 2026 at 23:38 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': 'none', '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. 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.
Title SumatraPDF: Unsigned-to-signed hdrLen validation bypass in SumatraPDF MOBI parsing causes out-of-bounds read
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 9, 2026, 3:46 PM
Reserved
Oct 8, 2026, 5:21 PM
Status
Deferred
Published
Oct 8, 2026, 11:16 PM
Modified
Oct 9, 2026, 4:17 PM