Integer Overflow or Wraparound Affecting bitcoin/bitcoin package, versions [,29.1-rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th 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-UNMANAGED-BITCOINBITCOIN-15855400
  • published31 Mar 2026
  • disclosed20 Mar 2026
  • creditPieter Wuille

Introduced: 20 Mar 2026

CVE-2025-46597  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade bitcoin/bitcoin to version 29.1-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to uncapped -maxmempool and -dbcache values for 32-bit architectures. An attacker can cause unexpected behavior or potentially execute arbitrary code by providing specially crafted input values that trigger the overflow.

CVSS Base Scores

version 4.0
version 3.1