Terms and Conditions
- I agree to the Grant Agreement terms if funded
- I agree to Provide KYC information if funded above $50,000 USD
- I agree to disclose conflicts of interest
- I understand that this grant program is only eligible for completed work, as it is a retroactive grant program. Applications for planned or partially completed work will not be considered. All completed work will be verified and accepted by its intended users or their representatives, who will confirm that the outputs meet the required quality, functionality, and usability before the work is listed as an option for Coinholder voting.
- I agree that for any new open-source software, I will create a CONTRIBUTING.md file that reflects the high standards of Zcash development, using the
librustzcashstyle guides as a primary reference. - I understand when contributing to existing Zcash code, I am required to adhere to the project specific contribution guidelines, paying close attention to any merge, branch, pull request, and commit guidelines as exemplified in the librustzcash repository.
- I understand all grants are valued in USD but will be disbursed in Shielded ZEC. I acknowledge and accept that disbursement amounts may fluctuate based on the ZEC/USD exchange rate at the time of payment.
Application Owners (@octocat, @octocat1)
@craftsoldier
Organization or Individual Name
Julian Abraham
Additional Team Members
None
How did you learn about the Lockbox: Coinholder Retroactive Grants Program?
Active ZCAP member and participant in the Zcash Community Forum
Requested Grant Amount (USD)
$37,500
Category
Research & Development
Project Summary
I'm requesting $37,500 for two pieces of Zebra security work.
The first is my responsible disclosure of GHSA-4f6v-mj46-gxg3, a Low severity vulnerability that let any peer delay the newest block on a Zebra node again and again without ever being banned. The Zcash Foundation published the advisory crediting me as the sole reporter, and the Zebra 6.4.0 release notes thank me by name for reporting it.
The second is my fix to Zebra's IPv6 peer limit, which let one cheap server fill all of a node's connection slots. The Zcash Foundation then built on my fix to patch the Medium severity GHSA-jhpp-8h75-7pv5, where a banned peer could come straight back from another address on the same server. The Zebra 6.4.0 release notes credit my issue for both the IPv6 limit and the ban fix.
Project Description
1. Block suppression: GHSA-4f6v-mj46-gxg3 (Low)
When a new block is mined, nodes tell each other about it and then download it from whoever announced it. Unfortunately, on versions before 6.4.0 Zebra trusted the block height written inside the block's first (coinbase) transaction before checking it, and because that height isn't covered by the block's hash, an attacker could change it without the block looking any different.
What an attack looked like
- An attacker connects to a Zebra node as an ordinary peer and announces a real, newly mined block.
- When the node asks for it, the attacker sends the real block with one change: the height inside the coinbase transaction is rewritten to 1.
- The block hash still matches, so Zebra reads height 1, decides the block is ancient and throws it away before ever validating it.
- Zebra also forgets which peer sent it, so the attacker is never penalized or banned and can do the same to the next block, and the next.
The node keeps running and eventually gets the block from an honest peer, but each new block is delayed for as long as the attacker keeps winning the download, which hurts the nodes feeding miners and pools the most, since they end up mining on an old block while the node is behind.
Disclosure and fix
I submitted the advisory on August 13 with a working proof of concept, and the Zcash Foundation accepted it on August 18. The fix (PR #11502) shipped in Zebra 6.4.0 on September 23, whose release notes thank me by name, and the advisory was published on September 28 as Low (CVSS 3.7), crediting me as the sole reporter. Zebra 6.4.0 and 6.4.1 were later recalled for an unrelated bug, so the advisory lists 6.4.2 as the patched version.
2. IPv6 peer limit, and the ban evasion fix built on it: GHSA-jhpp-8h75-7pv5 (Medium)
Zebra allows only one connection per IP address, which is the main thing stopping a single attacker from taking over all of a node's connections. The problem is that on IPv6 every cheap server comes with a block of 18 quintillion addresses (a "/64"), so one machine could connect from a different address every time and the limit never kicked in.
What an attack looked like
- An attacker rents an ordinary server, which comes with its own /64.
- They connect to a Zebra node again and again, each time from a new address in that /64.
- Zebra counts every address as a different machine, so the one-per-IP limit never triggers and the attacker can fill every connection slot.
- With every slot filled, the node hears only from the attacker, which is the first step of an eclipse attack. Zebra had other defenses that slowed this down, but the per-IP limit was the main one, and it was bypassed from the first connection.
Disclosure and fix
I reported this in issue #11255 on August 13 and wrote the fix, PR #11256, which makes Zebra treat a whole IPv6 /64 as one machine everywhere it counts connections. It was reviewed by Conrado and oxarbitrage and merged on September 2.
Conrado then found that Zebra's bans had the same problem: a banned IPv6 attacker could come straight back from another address in the same /64. He published that as GHSA-jhpp-8h75-7pv5 (Medium), which lists my issue and PR as references. The Foundation's fix (PR #11502) applies the connection_limit_key() function from my PR to the ban list, so a ban now covers the whole /64. The Zebra 6.4.0 release notes credit my issue for both the IPv6 limit and the ban fix. Zakura also fixed the same IPv6 gap from my report (issue #645, fixed in PR #2243).
Requested amount
| Work | Basis | Amount |
|---|---|---|
| Block suppression, GHSA-4f6v-mj46-gxg3 | Low, sole reporter | $18,750 |
| IPv6 /64 peer limit (#11255, #11256), basis of the GHSA-jhpp-8h75-7pv5 fix | Half of a Medium ($37,500) | $18,750 |
| Total | $37,500 |
Amounts follow the former ZCG Core Node bounty table (Low $18,750, Medium $37,500), with no bonus.
Technical Approach (how you did it)
After reporting CVE-2026-104423 in July, I kept studying the Zebra node, this time how it deals with its peers: who it connects to, how many, and what happens when one of them misbehaves.
Block suppression
When Zebra 6.3.0 fixed GHSA-g95h-hw6g-pvgv, a bug where a peer could trick Zebra with the unchecked block height inside a downloaded block, I wanted to know whether the same mistake existed anywhere else, so I did a variant analysis and found that the fix only covered the sync path, while the gossip path, where nodes pass along newly mined blocks, still read the same unchecked height.
From there I built a proof of concept on a local Regtest network, rewriting the height of a block the node hadn't seen yet to 1 and serving the forged copy, and the node threw the block away as ancient without ever penalizing the peer that sent it, after which I submitted the advisory to the Zcash Foundation on August 13 with the PoC.
IPv6 peer limit
While learning how Zebra's peer settings work, I noticed that its main defense against a single attacker taking every connection slot is max_connections_per_ip, a limit of one connection per IP address, and that Zebra had turned on IPv6 by default (#9609) without changing it, even though every cheap server comes with a /64 of 18 quintillion addresses.
Working through zebra-network with an LLM, I traced every place the limit is enforced and found none of them grouped addresses by subnet. I confirmed the bypass with a proof of concept against a Zebra 6.3.0 testnet node in Docker, then filed issue #11255 on August 13 with the fix ready in PR #11256, which, following Conrado's review, counts the existing limit per /64 on IPv6 at all three places Zebra enforces it.
Time Period of Work Completion
Q3 2026, August 2026 - September 2026
Total Budget (USD)
0
Budget Breakdown
Security researchers participating in bug bounties are paid on the merit of their disclosure, not a fixed salary/budget.
Previous Funding
No
Previous Funding Details
No response
Other Funding Sources
No
Other Funding Sources Details
No response
Success Metrics
- Block suppression: The Zcash Foundation published GHSA-4f6v-mj46-gxg3 as Low (CVSS 3.7), crediting me as the sole reporter. Before the fix, any peer could delay the newest block on a Zebra node, again and again, without ever being penalized.
- IPv6 peer limit: I reported it in issue #11255, and my fix (PR #11256) stopped one machine from taking every connection slot on a Zebra node, which is the first step of an eclipse attack.
- Ban evasion fix: GHSA-jhpp-8h75-7pv5 (Medium) lists my issue and PR as references, and the Zcash Foundation's fix (PR #11502) is built on my PR. Conrado is credited as the reporter.
- Zakura: Zakura fixed the same IPv6 gap from my report (PR #2243).
- Shipped: Both fixes are live in Zebra 6.4.2.
Proof of completion
Block suppression
- Security advisory published by the Zcash Foundation, rated Low (CVSS 3.7), crediting me as sole reporter: https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-4f6v-mj46-gxg3
IPv6 peer limit and ban evasion fix
- My issue reporting the IPv6 peer limit bypass: https://github.com/ZcashFoundation/zebra/issues/11255
- My fix, merged September 2, 2026: https://github.com/ZcashFoundation/zebra/pull/11256
- Advisory listing my issue and PR as references: https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-jhpp-8h75-7pv5
- The Zcash Foundation's fix, built on my PR: https://github.com/ZcashFoundation/zebra/pull/11502
- Zakura issue for the same bypass, fixed from my report: https://github.com/zakura-core/zakura/issues/645 (fix: https://github.com/zakura-core/zakura/pull/2243)
Releases
- Zebra 6.4.0 release notes, thanking me for GHSA-4f6v and citing my issue for both the IPv6 limit and the ban fix: https://github.com/ZcashFoundation/zebra/releases/tag/v6.4.0
- Zebra 6.4.2, the patched version both advisories list (6.4.0 and 6.4.1 were recalled for an unrelated bug): https://github.com/ZcashFoundation/zebra/releases/tag/v6.4.2
Conflict of Interest Disclosure
No conflict of interest, other than holding ZEC and possibly voting for my own proposal which is allowed under the rules of this program
Community Forum Posting
- I understand it is my responsibility to post a link to this issue on the Zcash Community Forums after this application has been submitted so the community can give input. I understand this is required in order for the community to discuss and vote on this grant application. Note: If you are unable to post on the forum (for example, due to new user restrictions), please leave a comment below, and we will adjust your posting permissions.