ADVISORIES

Go Vulnerability Database

GO-2024-2818

Consensus failures in github.com/btcsuite/btcd

Details

Incorrect implementation of the consensus rules outlined in BIP 68 and BIP 112 making btcd 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 packages

EcosystemPackageAffected versions
Gogithub.com/btcsuite/btcd
All versions before 0.24.0 (fixed in 0.24.0)

References