Vulnerability · Published Feb 9, 2026 · Assigned by GitHub_M
CVE-2026-25920SumatraPDF has a heap out-of-bounds read in MOBI HuffDic decompressor
Medium 5.5
In plain English
A medium-severity out-of-bounds read in sumatrapdf from sumatrapdfreader. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sumatrapdfreader | sumatrapdf | <= 3.5.2 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-5mwx-65x7-cffp x_refsource_CONFIRM
- https://github.com/sumatrapdfreader/sumatrapdf/commit/12b6887e9dfff874fe8749bab1bdc53d4ff075b3 x_refsource_MISC
- https://github.com/sumatrapdfreader/sumatrapdf/blob/916392f94bc34e24f3c3286893ac6d7fa1e1c428/src/MobiDoc.cpp x_refsource_MISC