Use of Weak Hash Affecting @keep-network/tbtc-v2 package, versions <1.8.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Use of Weak Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-KEEPNETWORKTBTCV2-15369500
  • published3 Mar 2026
  • disclosed2 Mar 2026
  • creditUnknown

Introduced: 2 Mar 2026

New CVE NOT AVAILABLE CWE-328  (opens in a new tab)

How to fix?

Upgrade @keep-network/tbtc-v2 to version 1.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of Weak Hash in the P2SH check during deposit reveal. An attacker can cause protocol insolvency by crafting a transaction that embeds a valid P2SH inside a P2PKH output script, which is incorrectly treated as a valid P2SH output by the affected process.

CVSS Base Scores

version 4.0
version 3.1