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

- Severity: Medium 6.8 (CVSS:4.0, scored by GitHub_M) `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`
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T16:48:03.247Z
- Modified: 2026-09-28T16:17:14.050Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sumatrapdfreader sumatrapdf: < 3.6

## References

- <https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-27p6-wrfp-pgm8> (exploit)
- <https://github.com/sumatrapdfreader/sumatrapdf/issues/5318>
- <https://github.com/sumatrapdfreader/sumatrapdf/commit/24b9ce83383bbaa48b3efe00e4d30cccea126198>
- <https://github.com/sumatrapdfreader/sumatrapdf/releases/tag/3.6rel>

## Sources

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

---

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