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.
{ "review_status": "REVIEWED", "url": "https://pkg.go.dev/vuln/GO-2022-1098" }
{ "imports": [ { "path": "github.com/btcsuite/btcd/wire", "symbols": [ "MsgBlock.BtcDecode", "MsgBlock.Deserialize", "MsgBlock.DeserializeNoWitness", "MsgBlock.DeserializeTxLoc", "MsgTx.BtcDecode", "MsgTx.Deserialize", "MsgTx.DeserializeNoWitness", "ReadMessage", "ReadMessageN", "ReadMessageWithEncodingN" ] } ] }