zebrad is vulnerable to Incorrect Calculation
37
Low Risk
When building a block template Zebra's transaction selector budgets mempool transactions against the maximum block size but reserves space only for the coinbase transaction. It does not reserve space for the serialized block header or the transaction-count field, both of which count toward the maximum block size. A template can therefore be filled past the limit, so a solved block exceeds the consensus size and is rejected by every validating node, wasting the proof-of-work. The fix reserves the network-specific header size and maximum transaction-count width before admitting transactions.
You are affected if you are using a version that falls within the vulnerable range and you mine using Zebra's block templates through getblocktemplate or the built-in miner.
zebrad is vulnerable to Incorrect Calculation in versions 0.0.1 - 6.0.0.
Upgrade the zebrad library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant