{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.23.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6b5418d5850f5b9977c9b13725d79c5c81d0c1db"
            }
          ],
          "repo": "https://github.com/btcsuite/btcd",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "aff2ed3a6a118d664049835c325a5b69e977172f"
            }
          ],
          "repo": "https://github.com/lightningnetwork/lnd",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2022-44797",
  "modified": "2026-04-01T23:09:43.262207542Z",
  "published": "2022-11-07T04:15:09.650Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/btcsuite/btcd/releases/tag/v0.23.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/lightningnetwork/lnd/issues/7002"
    },
    {
      "type": "FIX",
      "url": "https://github.com/btcsuite/btcd/pull/1896"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}