Zebra consensus: Zebra has sync restart poisoning from single unauthenticated peer via above-lookahead block (CVE-2026-52737)
### Am I affected You are affected if: 1. You run `zebrad` up to and including `v4.4.1`. 2. Your node accepts inbound P2P connections and is syncing or catching up to the chain tip. ### Summary A malicious peer can answer Zebra's outbound `getblocks`/`FindBlocks` request with a small two-hash inventory, then serve a syntactically valid block whose coinbase height is far above the victim's local tip. The `AboveLookaheadHeightLimit` error in the sync download pipeline triggers a global sync restart rather than being scoped to the offending peer. The peer is never scored or disconnected because the error type does not carry the advertiser address. On mainnet, each successful cycle imposes a 67-second sync restart delay. All in-flight downloads from honest peers are cancelled on each restart. ### Details The bug is the interaction of three layers: 1. The syncer promotes unvalidated `FindBlocks` peer responses into concrete download schedules without checking that the advertised hashes are plausible chain extensions. 2. When a downloaded block's coinbase height exceeds `tip + VERIFICATION_PIPELINE_DROP_LIMIT`, the sync downloader returns `BlockDownloadVerifyError::AboveLookaheadHeightLimit`. This error variant carries only the block height and hash, not the advertiser peer address. 3. The sync error handler in `handle_block_response` only sends misbehaviour scores for `BlockDownloadVerifyError::Invalid` errors that carry an `advertiser_addr` and have a nonzero `misbehavior_score()`. `AboveLookaheadHeightLimit` falls through to the default restart-worthy path, cancelling all in-flight downloads and waiting 67 seconds before restarting sync. The attacker needs only an unauthenticated P2P connection (post-handshake), a tiny payload (one two-hash `inv` message plus one small block per cycle), and no mining capability, funds, or valid chain data. The peer is never penalised, so the attack is repeatable indefinitely. Additionally, several other pre-consensus sync-layer errors had zero misbehaviour scores even when peer-attributed. Contextual validation failures (`InvalidDifficultyThreshold`, `TimeTooEarly`, `TimeTooLate`, `NonSequentialBlock`) and locktime failures from block-serving peers all scored zero, allowing repeated abuse without penalty. ### Patches Patched in Zebra 4.4.2. The fix: - Carries `advertiser_addr` through `AboveLookaheadHeightLimit` and `InvalidHeight` error variants. - Makes above-lookahead and invalid-height failures peer-local (the block is dropped and the peer is banned with score 100) rather than triggering a global sync restart. - Expands `misbehavior_score()` across `BlockError`, `VerifyBlockError`, and `CommitBlockError` to cover contextual validation failures that previously scored zero. ### Workarounds No configuration-level workaround is available. The attack is mitigated by having a diverse honest peer set, but cannot be prevented while the vulnerable code is running. ### Impact A single unauthenticated peer can repeatedly stall a syncing Zebra node by forcing 67-second global sync restart cycles. All unrelated in-flight downloads are cancelled on each restart. The node does not crash and no state is corrupted, but sync progress is significantly degraded for the duration of the attack. ### Credit Reported by `@ipwning`.
AI Analysis
Technical Summary
The vulnerability arises from Zebra's syncer promoting unvalidated FindBlocks peer responses into download schedules without verifying the plausibility of advertised hashes. When a block's coinbase height exceeds the allowed lookahead limit, the sync downloader returns an AboveLookaheadHeightLimit error that lacks the advertiser peer address. Consequently, the sync error handler triggers a global sync restart rather than isolating the offending peer. An unauthenticated malicious peer can exploit this by repeatedly sending a small inventory and a syntactically valid block with an excessively high coinbase height, causing repeated 67-second sync restarts and cancelling all honest peer downloads. The peer is never penalized, allowing indefinite exploitation. The patch in Zebra 4.4.2 addresses this by carrying the advertiser address in errors, banning offending peers with a high misbehavior score, and expanding misbehavior scoring to other contextual validation failures.
Potential Impact
An unauthenticated single peer can repeatedly stall the sync process of a Zebra node by forcing global sync restarts with a 67-second delay each cycle. This cancels all ongoing downloads from honest peers, significantly degrading sync progress. The node remains operational without crashing or corrupting state. The attack requires minimal resources from the attacker and can be repeated indefinitely due to lack of peer penalty in vulnerable versions.
Mitigation Recommendations
A patch is available in Zebra version 4.4.2 that fixes this vulnerability by improving error handling and peer banning. Users should upgrade to Zebra 4.4.2 or later to remediate this issue. No configuration-level workaround exists. Maintaining a diverse set of honest peers can mitigate the attack impact but does not prevent exploitation while running vulnerable versions.
Zebra consensus: Zebra has sync restart poisoning from single unauthenticated peer via above-lookahead block (CVE-2026-52737)
Description
### Am I affected You are affected if: 1. You run `zebrad` up to and including `v4.4.1`. 2. Your node accepts inbound P2P connections and is syncing or catching up to the chain tip. ### Summary A malicious peer can answer Zebra's outbound `getblocks`/`FindBlocks` request with a small two-hash inventory, then serve a syntactically valid block whose coinbase height is far above the victim's local tip. The `AboveLookaheadHeightLimit` error in the sync download pipeline triggers a global sync restart rather than being scoped to the offending peer. The peer is never scored or disconnected because the error type does not carry the advertiser address. On mainnet, each successful cycle imposes a 67-second sync restart delay. All in-flight downloads from honest peers are cancelled on each restart. ### Details The bug is the interaction of three layers: 1. The syncer promotes unvalidated `FindBlocks` peer responses into concrete download schedules without checking that the advertised hashes are plausible chain extensions. 2. When a downloaded block's coinbase height exceeds `tip + VERIFICATION_PIPELINE_DROP_LIMIT`, the sync downloader returns `BlockDownloadVerifyError::AboveLookaheadHeightLimit`. This error variant carries only the block height and hash, not the advertiser peer address. 3. The sync error handler in `handle_block_response` only sends misbehaviour scores for `BlockDownloadVerifyError::Invalid` errors that carry an `advertiser_addr` and have a nonzero `misbehavior_score()`. `AboveLookaheadHeightLimit` falls through to the default restart-worthy path, cancelling all in-flight downloads and waiting 67 seconds before restarting sync. The attacker needs only an unauthenticated P2P connection (post-handshake), a tiny payload (one two-hash `inv` message plus one small block per cycle), and no mining capability, funds, or valid chain data. The peer is never penalised, so the attack is repeatable indefinitely. Additionally, several other pre-consensus sync-layer errors had zero misbehaviour scores even when peer-attributed. Contextual validation failures (`InvalidDifficultyThreshold`, `TimeTooEarly`, `TimeTooLate`, `NonSequentialBlock`) and locktime failures from block-serving peers all scored zero, allowing repeated abuse without penalty. ### Patches Patched in Zebra 4.4.2. The fix: - Carries `advertiser_addr` through `AboveLookaheadHeightLimit` and `InvalidHeight` error variants. - Makes above-lookahead and invalid-height failures peer-local (the block is dropped and the peer is banned with score 100) rather than triggering a global sync restart. - Expands `misbehavior_score()` across `BlockError`, `VerifyBlockError`, and `CommitBlockError` to cover contextual validation failures that previously scored zero. ### Workarounds No configuration-level workaround is available. The attack is mitigated by having a diverse honest peer set, but cannot be prevented while the vulnerable code is running. ### Impact A single unauthenticated peer can repeatedly stall a syncing Zebra node by forcing 67-second global sync restart cycles. All unrelated in-flight downloads are cancelled on each restart. The node does not crash and no state is corrupted, but sync progress is significantly degraded for the duration of the attack. ### Credit Reported by `@ipwning`.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from Zebra's syncer promoting unvalidated FindBlocks peer responses into download schedules without verifying the plausibility of advertised hashes. When a block's coinbase height exceeds the allowed lookahead limit, the sync downloader returns an AboveLookaheadHeightLimit error that lacks the advertiser peer address. Consequently, the sync error handler triggers a global sync restart rather than isolating the offending peer. An unauthenticated malicious peer can exploit this by repeatedly sending a small inventory and a syntactically valid block with an excessively high coinbase height, causing repeated 67-second sync restarts and cancelling all honest peer downloads. The peer is never penalized, allowing indefinite exploitation. The patch in Zebra 4.4.2 addresses this by carrying the advertiser address in errors, banning offending peers with a high misbehavior score, and expanding misbehavior scoring to other contextual validation failures.
Potential Impact
An unauthenticated single peer can repeatedly stall the sync process of a Zebra node by forcing global sync restarts with a 67-second delay each cycle. This cancels all ongoing downloads from honest peers, significantly degrading sync progress. The node remains operational without crashing or corrupting state. The attack requires minimal resources from the attacker and can be repeated indefinitely due to lack of peer penalty in vulnerable versions.
Mitigation Recommendations
A patch is available in Zebra version 4.4.2 that fixes this vulnerability by improving error handling and peer banning. Users should upgrade to Zebra 4.4.2 or later to remediate this issue. No configuration-level workaround exists. Maintaining a diverse set of honest peers can mitigate the attack impact but does not prevent exploitation while running vulnerable versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gvjc-3w7c-92jx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52737"]
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a46ecb627e9c7971943c9ad
Added to database: 07/02/2026, 22:56:54 UTC
Last enriched: 07/02/2026, 23:11:11 UTC
Last updated: 07/31/2026, 12:27:30 UTC
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.