Comparison Using Wrong Factors Affecting zebra-consensus package, versions <5.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ZEBRACONSENSUS-16301604
  • published27 Apr 2026
  • disclosed22 Apr 2026
  • creditsangsoo-osec

Introduced: 22 Apr 2026

NewCVE-2026-40880  (opens in a new tab)
CWE-1025  (opens in a new tab)

How to fix?

Upgrade zebra-consensus to version 5.0.2 or higher.

Overview

zebra-consensus is an Implementation of Zcash consensus checks

Affected versions of this package are vulnerable to Comparison Using Wrong Factors due to a logic error in the transaction verification cache. An attacker can cause affected nodes to accept invalid blocks and induce a consensus split by submitting a transaction valid for one block height but invalid for a subsequent height, then mining it in a block at the later height.

CVSS Base Scores

version 4.0
version 3.1