← Vulnerability Intelligence

CVE-2024-34478

btcd susceptible to consensus failures

medium entropyGHSA-3jgf-r68h-xfqmCVE-2024-34478

Entropy / wallet impact

github.com/btcsuite/btcd: btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68 and BIP 112, making it susceptible to consensus failures.

Description

btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68 and BIP 112, making it susceptible to consensus failures. Specifically, it uses the transaction version as a signed integer when it is supposed to be treated as unsigned. There can be a chain split and loss of funds.

Affected

KindNameEcosystemVersions
packagegithub.com/btcsuite/btcdgo< 0.24.0

CWE

CWE-436

Primary sources

Published
2024-05-05T03:30:47Z
Last modified
2024-08-07T19:55:50Z
First seen here
2026-08-18T15:11:37Z
CVSS
(ghsa)
Credibility
official_cve