# CVE-2026-23951: SumatraPDF's Integer Underflow in PalmDbReader Leads to Crash

- 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.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-22T00:17:10.159Z
- Modified: 2026-06-17T10:22:20.423Z
- Weaknesses: CWE-125, CWE-191, CWE-193
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sumatrapdfreader sumatrapdf: <= 3.5.2rel

## References

- <https://github.com/sumatrapdfreader/sumatrapdf/security/advisories/GHSA-hj4w-c5x8-p2hv> (exploit, vendor-advisory)
- <https://github.com/sumatrapdfreader/sumatrapdf/blob/master/src/PalmDbReader.cpp> (product)

## Sources

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

---

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