Every CVE Search/ Get API key

CVE-2022-44797

btcd mishandles witness size checking

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.30%Up 0.4 points since Nov 7, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2022-44797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
CVE List 9.8

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.

Record
CVE-2022-44797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
EUVDEUVD-2022-7197 9.8

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.

Record
EUVD-2022-7197
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-2chg-86hq-7w38 9.8

btcd mishandles witness size checking

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.

Specific Go Packages Affected

github.com/btcsuite/btcd/wire

Record
GHSA-2chg-86hq-7w38
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2022-44797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-2chg-86hq-7w38 9.8

btcd mishandles witness size checking

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.

Specific Go Packages Affected

github.com/btcsuite/btcd/wire

Record
GHSA-2chg-86hq-7w38
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-44797 9.8

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.

Record
UBUNTU-CVE-2022-44797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGO-2022-1098 No score

Denial of service in message decoding in github.com/btcsuite/btcd

Erroneous message decoding can cause denial of service.

Improper checking of maximum witness size during node message decoding prevented nodes in Lightning Labs lnd (before 0.15.2-beta) to sync.

Record
GO-2022-1098
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/lightningnetwork/lnd
Go
before 0.15.2-beta
0.15.2-beta
github.com/btcsuite/btcd
Go
before 0.23.2
0.23.2
golang-github-btcsuite-btcd-btcec
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20161101.0.g8343278-1
None known
golang-github-btcsuite-btcd-btcec
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20161101.0.g8343278-1
None known
golang-github-btcsuite-btcd-btcec
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20161101.0.g8343278-1.1
None known
golang-github-btcsuite-btcd-btcec
Ubuntu:24.04:LTS
All versions, plus listed versions
0.0~git20161101.0.g8343278-1.1
None known
golang-github-btcsuite-btcd-btcec
Ubuntu:25.10
All versions, plus listed versions
0.0~git20161101.0.g8343278-1.1
None known
golang-github-btcsuite-btcd-btcec
Ubuntu:26.04:LTS
All versions, plus listed versions
0.0~git20161101.0.g8343278-1.10.0~git20161101.0.g8343278-2
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-44797 is a critical vulnerability (CVSS 9.8) in Btcd Project Btcd, published November 7, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.30%, the 70th percentile. Fixed in github.com/lightningnetwork/lnd 0.15.2-beta.

References

Show 7 moreShow less
MoveEnter Open