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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26054.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26054.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"203367953200486349390816966114740057067",
"317812094337942261380818735084580071743",
"132034911448496112507684314363438130350",
"24687248169840831897595657016925486454",
"17299853333134024643525916022743327067",
"321345430374346042347558237120481070947",
"262247941185871653504225247979967179675",
"203602123917659993290282641638100586430",
"319694734599401430925459008001053404909",
"112263597672534007598943368268685352709",
"211905149650058363085128990357330004706",
"173531592578407863765515380620368370274",
"121781956140594354765335640341003624331"
],
"threshold": 0.9
},
"id": "CVE-2026-26054-6849277a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/sumatrapdfreader/sumatrapdf/commit/b9732699d403ccb41f1135e0bd7f425c475e7689",
"target": {
"file": "src/CrashHandler.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "45385335526189619873983992342858613800",
"length": 1317
},
"id": "CVE-2026-26054-cbe35cf0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/sumatrapdfreader/sumatrapdf/commit/b9732699d403ccb41f1135e0bd7f425c475e7689",
"target": {
"file": "src/CrashHandler.cpp",
"function": "_uploadDebugReport"
}
}
]
"2026-09-25T08:11:23Z"