Integer Overflow or Wraparound Affecting libtommath package, versions [,1.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
1.25% (66th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBTOMMATH-10077499
  • published8 May 2025
  • disclosed1 Sept 2023
  • creditUnknown

Introduced: 1 Sep 2023

CVE-2023-36328  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade libtommath to version 1.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the mp_grow function, which allows an attacker to cause a denial of service (DoS) by sending specially crafted input.

CVSS Base Scores

version 3.1