{"id":"UBUNTU-CVE-2022-44797","details":"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.","modified":"2026-05-20T16:08:19.476664047Z","published":"2022-11-07T04:15:00Z","upstream":["CVE-2022-44797"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-44797"},{"type":"REPORT","url":"https://github.com/btcsuite/btcd/pull/1896"},{"type":"REPORT","url":"https://github.com/lightningnetwork/lnd/issues/7002"},{"type":"REPORT","url":"https://github.com/btcsuite/btcd/releases/tag/v0.23.2"},{"type":"REPORT","url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-44797"}],"affected":[{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-btcsuite-btcd-btcec-dev","binary_version":"0.0~git20161101.0.g8343278-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}},{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20161101.0.g8343278-1","binary_name":"golang-github-btcsuite-btcd-btcec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}},{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-btcsuite-btcd-btcec-dev","binary_version":"0.0~git20161101.0.g8343278-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}},{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20161101.0.g8343278-1.1","binary_name":"golang-github-btcsuite-btcd-btcec-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}},{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-btcsuite-btcd-btcec-dev","binary_version":"0.0~git20161101.0.g8343278-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}},{"package":{"name":"golang-github-btcsuite-btcd-btcec","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-btcsuite-btcd-btcec?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20161101.0.g8343278-1.1","0.0~git20161101.0.g8343278-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-btcsuite-btcd-btcec-dev","binary_version":"0.0~git20161101.0.g8343278-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-44797.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}