Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Network-reachable via default P2P, no authentication or complexity; availability impact is partial since only mempool admission is blocked while block sync continues.
Primary rating from Vendor (https://github.com/ZcashFoundation/zebra).
CVSS VectorVendor: https://github.com/ZcashFoundation/zebra
Lifecycle Timeline
1DescriptionCVE.org
Am I affected
You are affected if:
- You run
zebradup to and includingv4.4.1. - Your node accepts inbound P2P connections (
network.listen_addris set, which is the default). - Your node's mempool is active (node is synced near the chain tip).
All default configurations are affected.
Summary
A single unauthenticated P2P peer can monopolize all 25 inbound mempool download/verification slots (MAX_INBOUND_CONCURRENCY) by advertising fake transaction IDs. While the slots are occupied, all other inbound transactions from honest peers and local RPC sendrawtransaction calls are rejected with MempoolError::FullQueue. The attacker peer is never scored for misbehavior and is not disconnected, allowing sustained denial of mempool admission.
Details
The mempool download/verification pipeline at zebrad/src/components/mempool/downloads.rs uses a single bounded pool of 25 concurrent tasks. Three architectural gaps combine to produce the vulnerability:
- No per-peer accounting: the 25 slots are shared across all peers with no cap on how many a single peer can hold.
- No overload signaling: when
FullQueueis returned, the inbound service atzebrad/src/components/inbound.rsmaps it toResponse::Nil, hiding the overload from the peer connection layer. The existinghandle_inbound_overloaddisconnection logic never fires. - No misbehavior attribution: peer identity is not carried through the
Gossiptype into the download pipeline, so verification failures cannot be attributed to the originating peer.
The attacker sends inv messages advertising fake transaction IDs. Zebra queues download tasks for each ID. The attacker stays silent; each slot is held until the TRANSACTION_DOWNLOAD_TIMEOUT (20 seconds) fires. The attacker periodically sends fresh inv waves to re-fill slots as they expire.
Two additional slot-holding techniques have been independently demonstrated: invalid-prevout transactions that park in AwaitOutput for 60 seconds, and expensive shielded proof verification with auth-variant cache bypass. All three techniques are addressed by the same per-peer accounting fix.
Patches
zebrad 4.5.0
The fix adds per-peer queue accounting to the mempool download pipeline. A single peer is limited to a fraction of MAX_INBOUND_CONCURRENCY (e.g., 5 slots out of 25). FullQueue is surfaced as an overload signal to the peer connection layer. Peer identity is plumbed through the Gossip type for misbehavior attribution.
Workarounds
There is no complete configuration-level workaround. Reducing network.peerset_initial_target_size limits the total inbound peer count but does not prevent a single peer from holding all mempool slots.
Impact
Mempool transaction admission is denied for all honest peers and local RPC clients while the attack is sustained. Block validation and chain synchronization continue normally. The attacker needs only one TCP connection and minimal bandwidth (~1 KB/s of fake inv messages). The node recovers immediately when the attacker stops. This does not affect consensus, funds, or on-disk state.
Credit
Reported by @dingledropper via a private GitHub Security Advisory submission.
AnalysisAI
Mempool admission in zebrad up to v4.4.1 can be completely blocked by a single unauthenticated P2P peer using minimal bandwidth (~1 KB/s), exploiting absent per-peer slot accounting in the transaction download/verification pipeline. By advertising fake transaction IDs via inv messages, an attacker holding one TCP connection can monopolize all 25 MAX_INBOUND_CONCURRENCY slots, causing every subsequent inbound transaction from honest peers - and local RPC sendrawtransaction calls - to fail with MempoolError::FullQueue indefinitely. No public exploit has been identified at time of analysis; the issue is fixed in zebrad 4.5.0.
Technical ContextAI
zebrad is the Rust-language Zcash full node maintained by the Zcash Foundation (pkg:rust/zebrad). The vulnerable component is the mempool download/verification pipeline at zebrad/src/components/mempool/downloads.rs, which manages concurrent transaction fetching and validation using a fixed global pool of 25 tasks (MAX_INBOUND_CONCURRENCY). CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause: this shared pool has no per-origin accounting. Three architectural gaps compound the issue: (1) no per-peer slot cap, allowing one peer to hold all 25; (2) the inbound service at zebrad/src/components/inbound.rs maps FullQueue to Response::Nil, silently hiding the overload condition and preventing the existing handle_inbound_overload disconnection path from firing; and (3) peer identity is not propagated through the Gossip type into the download pipeline, making misbehavior attribution and scoring impossible. Three slot-holding techniques are documented in the advisory: fake transaction IDs held until the 20-second TRANSACTION_DOWNLOAD_TIMEOUT expires, invalid-prevout transactions that stall in the AwaitOutput state for 60 seconds, and expensive shielded proof verification exploiting an auth-variant cache bypass - all addressed by the same per-peer accounting fix.
RemediationAI
The primary fix is to upgrade zebrad to version 4.5.0, which introduces per-peer queue accounting capping a single peer at approximately 5 of the 25 MAX_INBOUND_CONCURRENCY slots, surfaces FullQueue as a proper overload signal to the peer connection layer triggering handle_inbound_overload disconnection, and plumbs peer identity through the Gossip type to enable misbehavior attribution and scoring. The vendor advisory is at https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-4fc2-h7jh-287c. No complete configuration-level workaround exists per the vendor. As a partial mitigation, reducing network.peerset_initial_target_size lowers the total inbound peer count, statistically reducing the chance an attacker maintains a persistent connection - but this does not prevent a single connected peer from monopolizing all slots, has the trade-off of reducing network connectivity, and may degrade node health and transaction relay performance.
Same technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-61170
GHSA-4fc2-h7jh-287c