btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68…
Priority MEDIUM 40CWE-436Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00558 46th percentileScored 2026-11-07
Fix Fixed github.com/btcsuite/btcd (Go): 0.24.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/btcsuite/btcd (Go) | before 0.24.0 | 0.24.0 | Patch available | GHSA-3jgf-r68h-xfqm |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/btcsuite/btcd (Go) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-3jgf-r68h-xfqm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:* | before 0.24.0 | Vulnerable | Btcd Project |
- cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:* Versions before 0.24.0 Vulnerable ·Btcd Project
Remediation
- Fix · GHSA-3jgf-r68h-xfqm github.com/btcsuite/btcd (Go) Fixed in 0.24.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-34478
- 2026-10-03 Alias added: GHSA-3jgf-r68h-xfqm
References
Other 7
- https://delvingbitcoin.org/t/disclosure-btcd-consensus-bugs-due-to-usage-of-signed-transaction-version/455
- https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/blockchain/chain.go#L383C1-L392C3
- https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/txscript/opcode.go#L1172C1-L1178C3
- https://github.com/btcsuite/btcd/pull/1981
- https://github.com/btcsuite/btcd/commit/253b688c68b89eca7eb75d4d5443dbdbc928db3c
- https://github.com/btcsuite/btcd
- https://pkg.go.dev/vuln/GO-2024-2818
More Btcd Project Btcd vulnerabilities
- TI-2022-18763 Witness Block Parsing DoS Vulnerability in lnd CVSS 3.1HIGH 8.2
- TI-2022-22062 btcd before 0.23.2, as used in Lightning Labs lnd before 0.15.2-beta and other… CVSS 3.1CRITICAL 9.8
- TI-2018-12252 Bitcoin Core 0.16.x before 0.16.2 and Bitcoin Knots 0.16.x before 0.16.2 allow remote… CVSS 3.1HIGH 7.5
- TI-2024-25622 btcd did not correctly re-implement Bitcoin Core's "FindAndDelete()" functionality CVSS 3.1HIGH 8.1
Sources
- CVE-2024-34478 · CVE Program
- CVE-2024-34478 · NVD
- FIRST EPSS
- GHSA-3jgf-r68h-xfqm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences