# CVE-2026-25920: SumatraPDF has a heap out-of-bounds read in MOBI HuffDic decompressor

- 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.27%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-09T21:32:26.520Z
- Modified: 2026-06-17T10:25:25.710Z
- 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.5.2 and earlier, a heap out-of-bounds read vulnerability exists in SumatraPDF's MOBI HuffDic decompressor. The bounds check in AddCdicData() only validates half the range that DecodeOne() actually accesses. Opening a crafted .mobi file can read nearly (1 << codeLength) bytes beyond the CDIC dictionary buffer, leading to a crash.

(As written by CVE List.)

## Affected

- sumatrapdfreader sumatrapdf: <= 3.5.2; up to 3.5.2

## References

- <https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-5mwx-65x7-cffp> (exploit, vendor-advisory)
- <https://github.com/sumatrapdfreader/sumatrapdf/commit/12b6887e9dfff874fe8749bab1bdc53d4ff075b3> (product)
- <https://github.com/sumatrapdfreader/sumatrapdf/blob/916392f94bc34e24f3c3286893ac6d7fa1e1c428/src/MobiDoc.cpp> (product)

## Sources

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

---

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