CVE-2024-34478Btcd Project Btcd
High 7.5 No auth needed
Follow: this CVE · Btcd Project · Btcd Project Btcd We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- May 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-436
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Btcd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/btcsuite/btcd |
< 0.24.0 |
0.24.0 |
go get github.com/btcsuite/btcd@v0.24.0 |
| Go | github.com/btcsuite/btcd |
< 0.24.0 |
0.24.0 |
go get github.com/btcsuite/btcd@v0.24.0 |
Per OSV / GitHub Advisories (GHSA-3jgf-r68h-xfqm, GO-2024-2818). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| btcd_project | btcd | < 0.24.0 |
Official sources
References
Links published by the sources. Open them with care.
- delvingbitcoin.org Issue Tracking
- github.com Product
- github.com Product