Live threats

All CVEs / Btcd Project

CVE-2022-44797Btcd Project Btcd

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Btcd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
btcd_projectbtcd< 0.23.2

Official sources

References

Links published by the sources. Open them with care.