Integer Underflow (Wrap or Wraparound) Affecting sumatrapdf package, versions [,3.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SUMATRAPDF-15067751
  • published23 Jan 2026
  • disclosed22 Jan 2026
  • creditMoisés Hermo Sieira

Introduced: 22 Jan 2026

CVE-2026-23951  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade sumatrapdf to version 3.6 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the PdbReader::Parserheader() function when processing a malformed Mobi file with exactly two records, leading to an integer underflow in the size calculation. An attacker can cause the application to crash by supplying a malicious file that triggers an out-of-bounds heap read.

References

CVSS Base Scores

version 4.0
version 3.1