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.
Problem types
Product status
References
github.com/...trapdf/security/advisories/GHSA-5mwx-65x7-cffp
github.com/...ommit/12b6887e9dfff874fe8749bab1bdc53d4ff075b3
github.com/...c34e24f3c3286893ac6d7fa1e1c428/src/MobiDoc.cpp