ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.0 and zebra-consensus version 5.0.1, a logic error in Zebra's transaction verification cache could allow a malicious miner to induce a consensus split. By matching a valid transaction's txid while providing invalid authorization data, a miner could cause vulnerable Zebra nodes to accept an invalid block, leading to a consensus split from the rest of the Zcash network. This would not allow invalid transactions to be accepted but could result in a consensus split between vulnerable Zebra nodes and invulnerable Zebra and Zcashd nodes. This issue has been patched in zebrad version 4.3.0 and zebra-consensus version 5.0.1.
CVE-2026-34377 is a critical consensus vulnerability in Zebra Zcash nodes (versions before 4.3.0) that allows malicious miners to trigger consensus splits by exploiting a transaction verification cache logic error. An attacker can craft transactions with valid txids but invalid authorization data, causing vulnerable nodes to accept invalid blocks and diverge from the legitimate Zcash network. While patches are available (zebrad 4.3.0, zebra-consensus 5.0.1), the presence of public exploits and the fundamental nature of consensus attacks pose severe risks to cryptocurrency infrastructure and financial systems relying on Zcash.
IMMEDIATE ACTIONS:
1. Identify all Zebra node deployments in your infrastructure (zebrad and zebra-consensus components)
2. Check current versions: zebrad < 4.3.0 or zebra-consensus < 5.0.1 are vulnerable
3. Isolate vulnerable nodes from production transaction processing immediately
PATCHING GUIDANCE:
1. Upgrade zebrad to version 4.3.0 or later
2. Upgrade zebra-consensus to version 5.0.1 or later
3. Test patches in staging environment before production deployment
4. Coordinate upgrade timing with network peers to minimize consensus disruption
COMPENSATING CONTROLS (if immediate patching not possible):
1. Disable Zcash node participation in consensus until patched
2. Implement network segmentation to isolate Zcash infrastructure
3. Monitor transaction verification logs for anomalies indicating exploitation attempts
4. Implement strict input validation on transaction authorization data
5. Deploy network-level monitoring to detect consensus split indicators
DETECTION RULES:
1. Alert on transactions with matching txids but divergent authorization signatures
2. Monitor for block acceptance followed by network divergence warnings
3. Track consensus state changes and peer disconnections
4. Log all transaction verification cache hits/misses for forensic analysis
5. Implement alerting for nodes accepting blocks rejected by majority peers
الإجراءات الفورية:
1. تحديد جميع نشرات عقد Zebra في البنية التحتية الخاصة بك (مكونات zebrad و zebra-consensus)
2. التحقق من الإصدارات الحالية: zebrad < 4.3.0 أو zebra-consensus < 5.0.1 معرضة للخطر
3. عزل العقد الضعيفة عن معالجة المعاملات الإنتاجية فوراً
إرشادات التصحيح:
1. ترقية zebrad إلى الإصدار 4.3.0 أو أحدث
2. ترقية zebra-consensus إلى الإصدار 5.0.1 أو أحدث
3. اختبار التصحيحات في بيئة التدريج قبل نشر الإنتاج
4. تنسيق توقيت الترقية مع نظراء الشبكة لتقليل اضطراب توافق الآراء
الضوابط التعويضية (إذا لم يكن التصحيح الفوري ممكناً):
1. تعطيل مشاركة عقدة Zcash في توافق الآراء حتى يتم التصحيح
2. تنفيذ تقسيم الشبكة لعزل البنية التحتية لـ Zcash
3. مراقبة سجلات التحقق من المعاملات للكشف عن شذوذ يشير إلى محاولات الاستغلال
4. تنفيذ التحقق الصارم من المدخلات على بيانات تفويض المعاملات
5. نشر مراقبة على مستوى الشبكة للكشف عن مؤشرات انقسام توافق الآراء
قواعد الكشف:
1. تنبيه على المعاملات ذات معرفات txids المطابقة لكن التوقيعات المختلفة
2. مراقبة قبول الكتلة متبوعة بتحذيرات انحراف الشبكة
3. تتبع تغييرات حالة توافق الآراء وقطع الاتصال بالنظراء
4. تسجيل جميع عمليات التحقق من المعاملات في ذاكرة التخزين المؤقت للتحليل الجنائي
5. تنفيذ التنبيهات للعقد التي تقبل الكتل المرفوضة من قبل أغلبية النظراء