{"id":"CVE-2024-34478","published":"2024-05-05T00:00:00Z","modified":"2024-08-07T15:03:11Z","title":"btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68 and BIP 112, making it…","vendor":null,"product":null,"tier":"tail","description":{"text":"btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68 and BIP 112, making it susceptible to consensus failures. Specifically, it uses the transaction version as a signed integer when it is supposed to be treated as unsigned. There can be a chain split and loss of funds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00793,"percentile":0.52952,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://delvingbitcoin.org/t/disclosure-btcd-consensus-bugs-due-to-usage-of-signed-transaction-version/455","tags":[]},{"url":"https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/blockchain/chain.go#L383C1-L392C3","tags":[]},{"url":"https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/txscript/opcode.go#L1172C1-L1178C3","tags":[]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.59},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-05T15:43:21.900167Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/btcsuite/btcd","vulnerableRanges":["<0.24.0"],"patched":["0.24.0"],"from":["GHSA-3jgf-r68h-xfqm","GO-2024-2818"],"provenance":"source"}],"summary":{"text":"The btcd Bitcoin node implementation, in versions before 0.24.0, incorrectly implements the consensus rules from BIP 68 and BIP 112 by treating the transaction version as a signed integer when it should be unsigned, which makes it susceptible to consensus failures. An attacker with network access and no authentication or user interaction required can trigger a chain split and loss of funds, with no special configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:24Z"},"euvd":{"id":"EUVD-2024-1391","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-44797","published":"2022-11-07","fixed":"0.23.2","kev":false},{"cve":"CVE-2024-34478","published":"2024-05-05","fixed":"0.24.0","kev":false},{"cve":"CVE-2024-38365","published":"2024-10-11","fixed":"0.24.2-beta.rc1","kev":false,"link":{"from":"CVE-2024-34478","to":"CVE-2024-38365","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/btcsuite/btcd","fromFixed":"0.24.0","toFixed":"0.24.2-beta.rc1","daysApart":159}]}}],"package":"Go:github.com/btcsuite/btcd"}}