Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | golang-github-btcsuite-btcd-btcec | No fix yet | — |
| Ubuntu 25.10 | golang-github-btcsuite-btcd-btcec | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-btcsuite-btcd-btcec | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-btcsuite-btcd-btcec | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-btcsuite-btcd-btcec | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | golang-github-btcsuite-btcd-btcec | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/btcsuite/btcd | < 0.23.2 | 0.23.2 | GHSA-2chg-86hq-7w38 |
| Go | github.com/lightningnetwork/lnd | < 0.15.2-beta | 0.15.2-beta | GHSA-2chg-86hq-7w38 |