· via dev.to (home feed)
Klever Go patch stops padding bitmap bits from counting toward the BLS quorum
Versions of Klever Go before 1.7.20 counted padding bits in a validator bitmap as real signers, letting blocks reach the BLS signature threshold with too few actual signatures.

Klever Go counted padding bits as validator signatures
Klever Go, the software that validates aggregate BLS signatures on block headers, has patched a consensus-critical vulnerability tracked as CVE-2026-58262. According to a security write-up on dev.to, every release before 1.7.20 treated padding bits inside the PubKeysBitmap field as if they represented real signers. A block could therefore satisfy the signature threshold with fewer genuine signatures than the protocol requires.
How the flaw works
A validator bitmap records which public keys contributed to an aggregate signature. A block permits a fixed number of possible signers, and when that count is not an exact multiple of the bitmap's storage unit, the leftover positions are padding. Those positions are supposed to remain zero and to contribute nothing to the quorum. In affected versions, a set bit in the padding region was treated as a participating validator, so the quorum could be reached using entries that never signed at all.
The dev.to analysis points out that the advisory, GHSA-f9h7-4mmq-vgcq, classifies the issue under CWE-345 and CWE-347, categories covering weak verification of data authenticity and of cryptographic signatures. Exploitation is described as needing some network access and only a low-privileged position, while the consequence for consensus is rated high: an invalid block can be accepted as though enough validators had approved it.
What the fix changes
Version 1.7.20 rejects any bitmap with non-zero padding bits before the quorum is calculated. The code change itself is narrow, but its operational weight is not. A node still running older code can disagree with a patched node about the validity of a particular block, and that divergence is exactly what consensus systems exist to prevent. Operators are advised to understand the chain's release procedure and to coordinate with other validators rather than treating an uncoordinated rolling restart as risk-free.
Upgrading and detection
The write-up recommends upgrading to 1.7.20 or later, then verifying the binary and container digest across validators, RPC nodes, and monitoring services. The upgrade should follow the project's network procedure, including any required chain halt, migration, or coordinated activation, and a rollback plan should exist that does not reintroduce an outdated validating process.
Afterward, operators should audit logs for blocks whose bitmap contains set padding positions, or whose signer count disagrees with the bitmap's cardinality. The raw block header and the verifier version used for each decision should be preserved, alerts should fire when nodes running different releases disagree, and the observed validator set should be compared against the configured one. Health checks that stop at confirming a node is running cannot reveal this failure mode.
For future work, the author suggests property tests covering every padding pattern, high-bit positions, empty signer sets, and the exact quorum boundary. The verifier should be required to reject any bitmap referencing an undefined index, and the tests should confirm that fewer valid signatures than the threshold cannot pass, even when additional bits are set.
Why it matters
An ordinary authorization bug affects one account or one service. A consensus validation flaw affects agreement among independent nodes: if one node accepts a block that another rejects, the network can split, and if enough nodes share the flawed implementation, the network may treat an unauthorized block as valid. Detecting that takes more than a liveness probe: operators need visibility into node versions, validation logs, peer behavior, and chain continuity.
The vulnerability is also a broader lesson for any system that derives a quorum from a bitmap. Structure is part of the signature check: every bit must correspond to a defined validator, padding must be rejected outright, and the count must come from verified signer identities. For Klever Go operators, moving to 1.7.20 is a coordinated network event, not a routine dependency bump.
- #security
- #blockchain
- #cryptography
- #vulnerability