ZcashFoundation Zebra
Zebra 4.5.0 Consensus Split via P2SH Sigop Overcount
Zebra zebrad 4.5.0 and zebra-script 7.0.0 count P2SH redeem script signature operations in legacy mode rather than zcashd's accurate P2SH mode, overcounting CHECKMULTISIG preceded by OP_1 through OP_16 as 20 sigops and causing a consensus divergence. Remote attackers can broadcast P2SH spends using low-threshold multisig redeem scripts so that a block zcashd accepts exceeds Zebra's inflated MAX_BLOCK_SIGOPS count, causing Zebra nodes to reject it and stall off the chain.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-628
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ZcashFoundation zebra
- >= 4.5.0, < 4.5.1
Fixed in 4.5.1
ZcashFoundation zebra
- >= 7.0.0, < 7.0.1
Fixed in 7.0.1
Mitigation
Upgrade zebra to 4.5.1 or later.
Upgrade zebra to 7.0.1 or later.
References
- Vendor advisory github.com/ZcashFoundation/zebra/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.