How I Crashed a Blockchain Node with a Single Vote (CVE-2026–40583)
A non-privileged user could submit a governance vote transaction that fails authorisation after the fee is debited and the nonce is incremented, and the outer error handler increments the nonce again, causing a supply invariant mismatch that crashes every validator node.
Published on medium.com
Hey there, security enthusiasts and fellow hackers! 🙂↔️ I’m Sumit Shah AKA hacksage… Today, I’m excited to share a critical discovery: a fatal logic flaw in a Layer 1 blockchain protocol that leads to a full node halt, effectively allowing any user to take down the entire network with a single transaction.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the authorisation check was placed after state mutations (fee debit and nonce increment) inside the dispatch function, and the outer error handler incremented the nonce a second time on failure, breaking the supply invariant.
Impact
A single transaction could halt the entire network by crashing all validators, stopping new transactions and blocks.
What the attacker needed
Ability to submit a SmartOp vote transaction; non-council account
The fix
The fix moved the council membership check and all other permission checks to the top of the function before any state change.
How it was found
- Craft a SmartOp Vote transaction from a non-council account.
- The node debits the fee and increments the nonce before the authorisation check.
- The authorisation check fails and returns an error.
- The outer error handler increments the nonce again and continues.
- The node detects a supply invariant mismatch and exits.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A blockchain node keeps a strict ledger of coins and account counters. This code charged a fee and bumped the counter before checking whether the sender was allowed to vote, then bumped the counter again when the vote was rejected. That made the ledger totals disagree, and the node treats any disagreement as fatal and shuts down.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.