Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-44797 EUVD-2022-7197GHSA-2chg-86hq-7w38GO-2022-1098

btcd mishandles witness size checking

Published Nov 7, 2022 · Updated May 1, 2025 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-github-btcsuite-btcd-btcec No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References