{"cve":"CVE-2024-34478","nvd":{"published":"2024-05-05T01:15:06.320","modified":"2026-06-17T07:33:30.000","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-436"],"references":["https://delvingbitcoin.org/t/disclosure-btcd-consensus-bugs-due-to-usage-of-signed-transaction-version/455","https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/blockchain/chain.go#L383C1-L392C3","https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/txscript/opcode.go#L1172C1-L1178C3","https://delvingbitcoin.org/t/disclosure-btcd-consensus-bugs-due-to-usage-of-signed-transaction-version/455","https://github.com/btcsuite/btcd/blob/e4c88c3a3ecb1813529bf3dddc7a865bd418a6b8/blockchain/chain.go#L383C1-L392C3"],"products":["btcd_project:btcd"],"source":"nvd","synced_at":"2026-10-19T21:49:23.840078609+00:00"},"epss":{"cve":"CVE-2024-34478","score":0.00558,"percentile":0.46513,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3jgf-r68h-xfqm","url":"https://osv.dev/vulnerability/GHSA-3jgf-r68h-xfqm","summary":"btcd susceptible to consensus failures","modified":"2024-08-07T19:55:49Z","packages":[{"ecosystem":"Go","name":"github.com/btcsuite/btcd","purl":"pkg:golang/github.com/btcsuite/btcd","ranges":["<0.24.0"],"fixed":["0.24.0"]}]},{"id":"GO-2024-2818","url":"https://osv.dev/vulnerability/GO-2024-2818","summary":"Consensus failures in github.com/btcsuite/btcd","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/btcsuite/btcd","purl":"pkg:golang/github.com/btcsuite/btcd","ranges":["<0.24.0"],"fixed":["0.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}