CVE-2024-34478: btcd · n/a
Affects btcdSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.24.0 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.24.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade btcsuite/btcd to 0.24.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubbtcsuite/btcdpkg:github/btcsuite/btcdOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately upgrade all btcd nodes to version 0.24.0 or later, where the consensus rule implementation correctly treats the transaction version as an unsigned integer. Until upgrades are applied, operators should monitor blockchain behavior closely for signs of chain splits or consensus anomalies. Running parallel nodes with alternative Bitcoin implementations (e.g., Bitcoin Core) can help detect discrepancies early. Network-level monitoring for unusual transaction patterns or forks can provide early warning of exploitation attempts. Operators should also ensure that their nodes are not exposed unnecessarily to untrusted networks and consider restricting RPC and P2P access to trusted peers. Regularly reviewing and applying security advisories from btcd maintainers and the broader Bitcoin community is critical. Finally, organizations should prepare incident response plans for potential chain splits or transaction rollbacks to minimize financial and operational impact.
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.
References
- delvingbitcoin.org/t/disclosure-btcd-consensus-bugs-due-to-usage-of-signed-transaction-version/455 (opens in a new tab)
- github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/blockchain/chain.go (opens in a new tab)
- github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/txscript/opcode.go (opens in a new tab)