CVE-2022-44797Btcd Project Btcd
Critical 9.8 No auth needed
Follow: this CVE · Btcd Project · Btcd Project Btcd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Nov 7, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
btcd before 0.23.2, as used in Lightning Labs lnd before 0.15.2-beta and other Bitcoin-related products, mishandles witness size checking.
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.23.2 |
0.23.2 |
go get github.com/btcsuite/btcd@v0.23.2 |
| Go | github.com/btcsuite/btcd |
< 0.23.2 |
0.23.2 |
go get github.com/btcsuite/btcd@v0.23.2 |
| Go | github.com/lightningnetwork/lnd |
< 0.15.2-beta |
0.15.2-beta |
go get github.com/lightningnetwork/lnd@v0.15.2-beta |
Per OSV / GitHub Advisories (GHSA-2chg-86hq-7w38, GO-2022-1098). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| btcd_project | btcd | < 0.23.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Release Notes Third Party Advisory