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

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-08T22:18:40.609Z
- Modified: 2026-10-09T16:17:24.003Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sumatrapdfreader sumatrapdf: <= 3.7.0.22298

## References

- <https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-86hq-m6hv-67h2>
- <https://github.com/sumatrapdfreader/sumatrapdf/commit/1ef900cbad02f06353b0a0747b098ca596f7c131>

## Sources

- CVE List: [CVE-2026-107729](https://www.cve.org/CVERecord?id=CVE-2026-107729), CVE Terms of Use, modified 2026-10-09
- NVD: [CVE-2026-107729](https://nvd.nist.gov/vuln/detail/CVE-2026-107729), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-107729 · Whole record: https://cve.day/CVE-2026-107729.json · Rebuilt by cve.day 2026-11-25T22:59:43.255Z
