Vulnerability in zebrad
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-40881 has been found in zebrad.
Attackers can target a specific entry point like addr over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade zebrad to 4.3.1 or later.
If unsure, ask your IT team or search "zebrad CVE-2026-40881" on the vendor's site.
CVE-2026-40881 (zebrad) — CWE-770
Attack surface: addr / addrv2 / codec.rs
Patched: 4.3.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-770) exists in zebrad. Attackers reach the vulnerable code path via addr.
Check the vendor advisory for the affected versions of zebrad. Attack surface: addr / addrv2 / codec.rs.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 4.3.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'zebrad' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'zebrad' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
zebradを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade zebrad to 4.3.1ステージング環境で 4.3.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| rustzebrad |
< 4.3.1→ 4.3.1 |
4.3.1 |
| rustzebra-network |
< 5.0.1→ 5.0.1 |
5.0.1 |
Original description The description as published by the source.
ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.0 and zebra-network version 5.0.1, when deserializing addr or addrv2 messages, which contain vectors of addresses, Zebra would fully deserialize them up to a maximum length (over 233,000) that was derived from the 2 MiB message size limit. This is much larger than the actual limit of 1,000 messages from the specification. Zebra would eventually check that limit but, at that point, the memory for the larger vector was already allocated. An attacker could cause out-of-memory aborts in Zebra by sending multiple such messages over different connections. This vulnerability is fixed in zebrad version 4.3.0 and zebra-network version 5.0.1.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web github.com