Description (CNA)
SumatraPDF is a multi-format reader for Windows. All versions contain an off-by-one error in the validation code that only triggers with exactly 2 records, causing an integer underflow in the size calculation. This bug exists in PalmDbReader::GetRecord when opening a crafted Mobi file, resulting in an out-of-bounds heap read that crashes the app. There are no published fixes at the time of publication.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| sumatrapdfreader / sumatrapdf | affected <= 3.5.2rel |
CWE
CWE-125, CWE-191
References
- https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-hj4w-c5x8-p2hv
- https://github.com/sumatrapdfreader/sumatrapdf/blob/master/src/PalmDbReader.cpp
ADP enrichment
No English description supplied.
No references supplied.