CVE-2022-44797
CRITICAL 9.8CVSS 3.1btcd 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.
- Published
- 7 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-2chg-86hq-7w38GO-2022-1098
- Sources
- NVDJSONOSV GHSA-2chg-86hq-7w38JSONOSV GO-2022-1098JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | btcd_project | btcdcpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:* |
< 0.23.2 | 0.23.2 |
| OSV | Go | github.com/btcsuite/btcd | < 0.23.2 | 0.23.2 |
| OSV | Go | github.com/lightningnetwork/lnd | < 0.15.2-beta | 0.15.2-beta |
References
- https://github.com/btcsuite/btcd/pull/1896 · Patch, Third Party Advisory, WEB
- https://github.com/btcsuite/btcd/releases/tag/v0.23.2 · Release Notes, Third Party Advisory, WEB
- https://github.com/lightningnetwork/lnd/issues/7002 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-44797 · ADVISORY
- https://github.com/btcsuite/btcd/commit/7fdaf6958781df46fffee4bc8bee38801c066da8 · WEB
- https://github.com/btcsuite/btcd · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-1098 · WEB
- https://github.com/advisories/GHSA-2chg-86hq-7w38 · ADVISORY
- https://github.com/btcsuite/btcd/pull/1896/commits/f523d4ccaa5f34a2f761f16a05f5d6e6665b1168 · FIX
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Nov 2022)