Ethereum Client Merges Fix for Validator Pubkey Cache Bug Before Glamsterdam
An Ethereum consensus client has merged a patch for a pubkey cache poisoning flaw tied to the upcoming Glamsterdam upgrade.
A developer team behind one of Ethereum's consensus clients has merged a fix for a vulnerability that could cause some nodes to reject valid signatures, according to a pull request published on GitHub. The flaw sits in the Gloas fork, the consensus layer component of the planned Glamsterdam upgrade, and involves a global cache that stores validator public keys alongside their indexes.
The problem arises because deposits that are already finalized should produce the same validators on every chain, but this assumption breaks down at the fork boundary. An attacker would need three pending deposits just before the fork: a large top-up for an existing validator and two new keys, one with builder credentials and one with regular validator credentials. By slashing the topped-up validator on a side chain, the attacker could cause the builder key to be processed earlier, taking the index intended for the regular validator. The cache, which assumed both chains would match, would then import the wrong key globally, leading affected nodes to reject valid signatures and fork off.
The fix
The patch changes the logic so that keys are added to the global pubkey cache only once their activation eligibility epoch is finalized. A new HeadPubkeys structure also merges keys from the head state with those in the global cache, which prevents nodes from missing keys when the chain finalizes without producing new blocks.
The attack is considered fairly complex, since it requires a slashing at a precise moment and a competing side chain, making accidental occurrence unlikely. Developers have not yet confirmed whether other consensus clients contain a similar flaw.
Market context
Ether (
$ETH+2.54%) was trading at about $1,949 at the time of data collection, down 4.58% over 24 hours and 13.06% over seven days. Trading volume over the past day was roughly $6.14 billion. The market data does not link these moves to the bug fix or the upgrade timeline.
The disclosure highlights how the approach of Glamsterdam is drawing closer scrutiny of edge cases around the fork boundary, and developers across client teams will need to verify similar behavior in their own implementations.
Written by cmc.io's AI newsroom from public sources and market data · How we work
Comments
0No comments yet. Be the first