{"id":"CVE-2026-52732","kind":"vulnerability","aliases":["CVE-2026-52732","GHSA-4fc2-h7jh-287c"],"related":[],"title":"zebrad has mempool transaction admission denial via single-peer inbound queue saturation","description":"### Am I affected\n\nYou are affected if:\n\n1. You run `zebrad` up to and including `v4.4.1`.\n2. Your node accepts inbound P2P connections (`network.listen_addr` is set, which is the default).\n3. Your node's mempool is active (node is synced near the chain tip).\n\nAll default configurations are affected.\n\n### Summary\n\nA 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.\n\n### Details\n\nThe 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:\n\n1. No per-peer accounting: the 25 slots are shared across all peers with no cap on how many a single peer can hold.\n2. No overload signaling: when `FullQueue` is returned, the inbound service at `zebrad/src/components/inbound.rs` maps it to `Response::Nil`, hiding the overload from the peer connection layer. The existing `handle_inbound_overload` disconnection logic never fires.\n3. No misbehavior attribution: peer identity is not carried through the `Gossip` type into the download pipeline, so verification failures cannot be attributed to the originating peer.\n\nThe 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.\n\nTwo 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.\n\n### Patches\n\nzebrad 4.5.0\n\nThe 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.\n\n### Workarounds\n\nThere 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.\n\n### Impact\n\nMempool 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.\n\n### Credit\n\nReported by `@dingledropper` via a private GitHub Security Advisory submission.","summary":"A single unauthenticated peer can fill all 25 inbound mempool download slots by advertising fake transaction IDs, so honest transactions and local sendrawtransaction calls are rejected while the attack lasts. The attacker is never scored or disconnected, so the denial can be sustained with about 1 KB/s of traffic.","severity":"medium","cvss":5.3,"epss":0.00507,"exploited":false,"exploited_at":null,"products":[{"name":"zebrad","fixed":["4.5.0"],"affected":"<= 4.4.1","ecosystem":"cargo"}],"ecosystems":["cargo"],"tags":["cwe-770","p2p-node","package","self-hosted","zcash","zebrad"],"not_affected_if":["listen-addr-unset","not-synced-to-tip"],"how_to_check":"- Run `zebrad --version` and compare against the affected range `<= 4.4.1`.\n- Check that `network.listen_addr` is set in the zebrad config (it is set by default).\n- Confirm the node is synced near the chain tip, since the mempool is only active then.","fix":"- zebrad: move to `4.5.0`.","status":"open","published_at":"2026-07-02T19:39:02+00:00","first_seen_at":"2026-11-13T02:48:40+00:00","triaged_at":"2026-11-13T02:49:07+00:00","updated_at":"2026-11-13T02:49:07+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-11-13T02:49:07Z","model":"claude-haiku-5-5","output":{"fix":"- zebrad: move to `4.5.0`.","reach":"network","title":"Zebra: one peer can block mempool transaction admission on a node","impact":"low","summary":"A single unauthenticated peer can fill all 25 inbound mempool download slots by advertising fake transaction IDs, so honest transactions and local sendrawtransaction calls are rejected while the attack lasts. The attacker is never scored or disconnected, so the denial can be sustained with about 1 KB/s of traffic.","audience":"businesses","category":"package","nicknames":[],"who_cares":["zebrad","zcash","self-hosted","p2p-node"],"confidence":0.85,"fix_status":"available","needs_auth":"no","worst_case":"mempool transaction admission denied for honest peers and local RPC","analyst_note":"","how_to_check":"- Run `zebrad --version` and compare against the affected range `<= 4.4.1`.\n- Check that `network.listen_addr` is set in the zebrad config (it is set by default).\n- Confirm the node is synced near the chain tip, since the mempool is only active then.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["listen-addr-unset","not-synced-to-tip"],"who_is_affected":"Any node running zebrad at or below 4.4.1 that accepts inbound P2P connections and has its mempool active, which is the default configuration. Nodes that do not accept inbound connections, or that are not synced to the chain tip, are not exposed. Block validation and chain sync are not affected.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"unknown"},"cost_usd":0.000852,"input_tokens":5693,"output_tokens":565,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,23A '-52732':16A,24A '-770':27B '1':82B,93C,222C,526C '2':102C,247C '20':338C '25':44B,145C,211C,229C,434C '287c':21A '3':117C,282C '4.5.0':403C '4fc2':19A '5':430C '60':375C 'accept':105C 'account':227C,399C,411C 'across':233C 'activ':123C 'add':406C 'addit':357C 'addr':110C 'address':392C 'admiss':5A,197C,493C 'advertis':50B,154C,314C 'advisori':560C 'affect':88C,91C,135C,543C 'allow':192C 'architectur':215C 'attack':65B,68B,181C,310C,326C,342C,506C,517C,538C 'attribut':285C,304C,457C 'auth':384C 'auth-vari':383C 'awaitoutput':373C 'bandwidth':525C 'block':509C 'bound':208C 'bypass':387C 'cach':386C 'call':60B,174C 'cannot':302C 'cap':238C 'carri':290C 'chain':129C,512C 'client':503C 'combin':217C 'complet':462C 'concurr':152C,212C,428C 'configur':133C,464C 'configuration-level':463C 'connect':108C,271C,445C,522C 'consensus':544C 'continu':514C 'count':477C 'credit':551C 'cve':14A,22A 'cwe':26B 'default':116C,132C 'demonstr':365C 'deni':495C 'denial':6A,76B,194C 'detail':198C 'dingledropp':554C 'disconnect':73B,191C,278C 'disk':549C 'download':47B,297C,320C,336C,415C 'download/verification':148C,201C 'e.g':429C 'exist':274C 'expens':378C 'expir':355C 'failur':301C 'fake':51B,155C,315C,529C 'fill':42B,351C 'fire':281C,340C 'fix':400C,405C 'fraction':424C 'fresh':345C 'fullqueu':179C,252C,435C 'fund':545C 'gap':216C 'ghsa':18A 'ghsa-4fc2-h7jh-287c':17A 'github':558C 'gossip':293C,453C 'h7jh':20A 'handl':275C 'held':332C 'hide':265C 'hold':246C,360C,486C 'honest':55B,168C,498C 'host':34B 'id':53B,157C,317C,324C 'ident':287C,448C 'immedi':535C 'impact':490C 'inbound':11A,45B,106C,146C,151C,165C,256C,276C,427C,475C 'includ':100C 'independ':364C 'initi':469C 'inv':312C,346C,530C 'invalid':367C 'invalid-prevout':366C 'kb/s':83B,527C 'last':66B 'layer':272C,446C 'level':465C 'limit':421C,472C 'local':58B,171C,501C 'logic':279C 'mani':241C 'map':260C 'max':150C,426C 'mempool':3A,46B,121C,147C,196C,200C,414C,488C,491C 'mempoolerror':178C 'messag':313C,531C 'minim':524C 'misbehavior':187C,284C,456C 'monopol':143C 'near':127C 'need':518C 'network.listen':109C 'network.peerset':468C 'never':70B,184C,280C 'nil':264C 'node':30B,104C,119C,124C,533C 'normal':515C 'occupi':162C 'on-disk':547C 'one':520C 'origin':307C 'overload':249C,267C,277C,440C 'p2p':29B,107C,140C 'p2p-node':28B 'packag':31B 'park':371C 'patch':401C 'peer':10A,40B,141C,169C,182C,226C,235C,244C,270C,286C,308C,398C,409C,419C,444C,447C,476C,484C,499C 'per':225C,397C,408C 'per-peer':224C,396C,407C 'period':343C 'pipelin':202C,298C,416C 'plumb':450C 'pool':209C 'prevent':481C 'prevout':368C 'privat':557C 'produc':219C 'proof':380C 'queue':12A,319C,410C 're':350C 're-fil':349C 'recov':534C 'reduc':467C 'reject':62B,176C 'report':552C 'respons':263C 'return':254C 'rpc':172C,502C 'run':95C 'satur':13A 'score':71B,185C 'second':339C,376C 'secur':559C 'self':33B 'self-host':32B 'send':311C,344C 'sendrawtransact':59B,173C 'servic':257C 'set':112C 'share':232C 'shield':379C 'signal':250C,441C 'silent':328C 'singl':9A,38B,138C,207C,243C,418C,483C 'single-p':8A 'size':471C 'slot':48B,149C,160C,230C,330C,352C,359C,431C,489C 'slot-hold':358C 'state':550C 'stay':327C 'stop':539C 'submiss':561C 'summari':136C 'surfac':437C 'sustain':79B,193C,508C 'sync':126C 'synchron':513C 'target':470C 'task':213C,321C 'tcp':521C 'techniqu':361C,390C 'three':214C,389C 'timeout':337C 'tip':130C 'total':474C 'traffic':85B 'transact':4A,52B,56B,156C,166C,316C,335C,369C,492C 'two':356C 'type':294C,454C 'unauthent':39B,139C 'use':205C 'v4.4.1':101C 'valid':510C 'variant':385C 'verif':300C,381C 'via':7A,555C 'vulner':221C 'wave':347C 'workaround':458C,466C 'zcash':35B 'zebra':318C 'zebrad':1A,25A,36B,96C,402C 'zebrad/src/components/inbound.rs':259C 'zebrad/src/components/mempool/downloads.rs':204C","nicknames":[],"mitigations":[],"who_affected":"Any node running zebrad at or below 4.4.1 that accepts inbound P2P connections and has its mempool active, which is the default configuration. Nodes that do not accept inbound connections, or that are not synced to the chain tip, are not exposed. Block validation and chain sync are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["zebrad"],"ptokens":["zebrad"],"labels":["cargo","cwe770","medium","p2pnode","package","selfhosted","zcash","zebrad"],"campaign_type":null,"search_a":"'-2026':15A,23A '-52732':16A,24A '287c':21A '4fc2':19A 'admiss':5A 'cve':14A,22A 'denial':6A 'ghsa':18A 'ghsa-4fc2-h7jh-287c':17A 'h7jh':20A 'inbound':11A 'mempool':3A 'peer':10A 'queue':12A 'satur':13A 'singl':9A 'single-p':8A 'transact':4A 'via':7A 'zebrad':1A,25A","search_b":"'-770':27B '1':82B '25':44B 'advertis':50B 'attack':65B,68B 'call':60B 'cwe':26B 'denial':76B 'disconnect':73B 'download':47B 'fake':51B 'fill':42B 'honest':55B 'host':34B 'id':53B 'inbound':45B 'kb/s':83B 'last':66B 'local':58B 'mempool':46B 'never':70B 'node':30B 'p2p':29B 'p2p-node':28B 'packag':31B 'peer':40B 'reject':62B 'score':71B 'self':33B 'self-host':32B 'sendrawtransact':59B 'singl':38B 'slot':48B 'sustain':79B 'traffic':85B 'transact':52B,56B 'unauthent':39B 'zcash':35B 'zebrad':36B","search_c":"'1':93C,222C,526C '2':102C,247C '20':338C '25':145C,211C,229C,434C '3':117C,282C '4.5.0':403C '5':430C '60':375C 'accept':105C 'account':227C,399C,411C 'across':233C 'activ':123C 'add':406C 'addit':357C 'addr':110C 'address':392C 'admiss':197C,493C 'advertis':154C,314C 'advisori':560C 'affect':88C,91C,135C,543C 'allow':192C 'architectur':215C 'attack':181C,310C,326C,342C,506C,517C,538C 'attribut':285C,304C,457C 'auth':384C 'auth-vari':383C 'awaitoutput':373C 'bandwidth':525C 'block':509C 'bound':208C 'bypass':387C 'cach':386C 'call':174C 'cannot':302C 'cap':238C 'carri':290C 'chain':129C,512C 'client':503C 'combin':217C 'complet':462C 'concurr':152C,212C,428C 'configur':133C,464C 'configuration-level':463C 'connect':108C,271C,445C,522C 'consensus':544C 'continu':514C 'count':477C 'credit':551C 'default':116C,132C 'demonstr':365C 'deni':495C 'denial':194C 'detail':198C 'dingledropp':554C 'disconnect':191C,278C 'disk':549C 'download':297C,320C,336C,415C 'download/verification':148C,201C 'e.g':429C 'exist':274C 'expens':378C 'expir':355C 'failur':301C 'fake':155C,315C,529C 'fill':351C 'fire':281C,340C 'fix':400C,405C 'fraction':424C 'fresh':345C 'fullqueu':179C,252C,435C 'fund':545C 'gap':216C 'github':558C 'gossip':293C,453C 'handl':275C 'held':332C 'hide':265C 'hold':246C,360C,486C 'honest':168C,498C 'id':157C,317C,324C 'ident':287C,448C 'immedi':535C 'impact':490C 'inbound':106C,146C,151C,165C,256C,276C,427C,475C 'includ':100C 'independ':364C 'initi':469C 'inv':312C,346C,530C 'invalid':367C 'invalid-prevout':366C 'kb/s':527C 'layer':272C,446C 'level':465C 'limit':421C,472C 'local':171C,501C 'logic':279C 'mani':241C 'map':260C 'max':150C,426C 'mempool':121C,147C,196C,200C,414C,488C,491C 'mempoolerror':178C 'messag':313C,531C 'minim':524C 'misbehavior':187C,284C,456C 'monopol':143C 'near':127C 'need':518C 'network.listen':109C 'network.peerset':468C 'never':184C,280C 'nil':264C 'node':104C,119C,124C,533C 'normal':515C 'occupi':162C 'on-disk':547C 'one':520C 'origin':307C 'overload':249C,267C,277C,440C 'p2p':107C,140C 'park':371C 'patch':401C 'peer':141C,169C,182C,226C,235C,244C,270C,286C,308C,398C,409C,419C,444C,447C,476C,484C,499C 'per':225C,397C,408C 'per-peer':224C,396C,407C 'period':343C 'pipelin':202C,298C,416C 'plumb':450C 'pool':209C 'prevent':481C 'prevout':368C 'privat':557C 'produc':219C 'proof':380C 'queue':319C,410C 're':350C 're-fil':349C 'recov':534C 'reduc':467C 'reject':176C 'report':552C 'respons':263C 'return':254C 'rpc':172C,502C 'run':95C 'score':185C 'second':339C,376C 'secur':559C 'send':311C,344C 'sendrawtransact':173C 'servic':257C 'set':112C 'share':232C 'shield':379C 'signal':250C,441C 'silent':328C 'singl':138C,207C,243C,418C,483C 'size':471C 'slot':149C,160C,230C,330C,352C,359C,431C,489C 'slot-hold':358C 'state':550C 'stay':327C 'stop':539C 'submiss':561C 'summari':136C 'surfac':437C 'sustain':193C,508C 'sync':126C 'synchron':513C 'target':470C 'task':213C,321C 'tcp':521C 'techniqu':361C,390C 'three':214C,389C 'timeout':337C 'tip':130C 'total':474C 'transact':156C,166C,316C,335C,369C,492C 'two':356C 'type':294C,454C 'unauthent':139C 'use':205C 'v4.4.1':101C 'valid':510C 'variant':385C 'verif':300C,381C 'via':555C 'vulner':221C 'wave':347C 'workaround':458C,466C 'zebra':318C 'zebrad':96C,402C 'zebrad/src/components/inbound.rs':259C 'zebrad/src/components/mempool/downloads.rs':204C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-05-29T07:45:09+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-4fc2-h7jh-287c","url":"https://github.com/advisories/GHSA-4fc2-h7jh-287c","severity":"medium","published_at":"2026-07-02T19:39:02+00:00","modified_at":"2026-11-13T02:43:55+00:00","first_seen_at":"2026-11-13T02:48:40+00:00","fetched_at":"2026-11-13T02:52:49+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-52732","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52732","severity":null,"published_at":"2026-08-18T20:17:16+00:00","modified_at":"2026-10-22T22:10:00+00:00","first_seen_at":"2026-11-13T03:13:22+00:00","fetched_at":"2026-11-13T03:13:22+00:00","note":null}],"documents":[{"id":142085,"url":"https://api.github.com/repos/ZcashFoundation/zebra/security-advisories/GHSA-4fc2-h7jh-287c","title":"Maintainer's advisory: api.github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Maintainer's advisory: api.github.com"},{"id":142086,"url":"https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-4fc2-h7jh-287c","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":"2026-05-29T07:45:09+00:00","relation":"advisory","confidence":null,"note":"Maintainer's advisory: github.com"},{"id":142266,"url":"https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":142267,"url":"https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00507,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52732"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}