nday
CVE-2026-40880 GHSA-xvj8-ph7x-65gf

Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks

ZcashFoundation / zebrad, zebra-consensus

Patch on record 210 days after disclosure. Patched: fixed in zebra-consensus 5.0.2 and zebrad 4.3.1. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H (CVSS 4.0) from the CNA GitHub_M
crates.io
GHSA-xvj8-ph7x-65gf: rust packages zebra-consensus, zebrad
stage
PAT
disclosed
disclosure → patch
T+210d
cvss
7.2 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
04-21T19:18Z
PATpatch
11-17T13:04Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.1 and zebra-consensus version 5.0.2, a logic error in Zebra's transaction verification cache could allow a malicious miner to induce a consensus split. By carefully submitting a transaction that is valid for height H+1 but invalid for H+2 and then mining that transaction in a block at height H+2, 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 vulnerability is fixed in zebrad version 4.3.1 and zebra-consensus version 5.0.2.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.2, high.

src cvelist · nday , bulk import · raw
{
  "id": 422305,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-40880",
  "occurred_at": "2026-04-21T19:18:22.657Z",
  "observed_at": "2026-11-13T05:39:46.303508Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H",
      "version": "4.0",
      "base_score": 7.2,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-04-21T19:52:38.860835Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-21T19:18:22.657Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions zebra-consensus 5.0.2 and zebrad 4.3.1. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-xvj8-ph7x-65gf · nday , observed live · raw
{
  "id": 476135,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-xvj8-ph7x-65gf",
  "occurred_at": null,
  "observed_at": "2026-11-17T13:04:22.557891Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-xvj8-ph7x-65gf",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 7.2,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H"
      }
    },
    "cwes": [
      {
        "name": "Comparison Using Wrong Factors",
        "cwe_id": "CWE-1025"
      }
    ],
    "ghsa_id": "GHSA-xvj8-ph7x-65gf",
    "packages": [
      {
        "name": "zebra-consensus",
        "ecosystem": "rust",
        "first_patched_version": "5.0.2",
        "vulnerable_version_range": "< 5.0.2"
      },
      {
        "name": "zebrad",
        "ecosystem": "rust",
        "first_patched_version": "4.3.1",
        "vulnerable_version_range": "< 4.3.1"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xvj8-ph7x-65gf",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-40880",
      "https://github.com/advisories/GHSA-xvj8-ph7x-65gf"
    ],
    "fix_commit_urls": [],
    "github_reviewed_at": "2026-04-18T00:41:54Z",
    "advisory_updated_at": "2026-11-17T12:12:17Z",
    "source_code_location": "https://github.com/ZcashFoundation/zebra",
    "advisory_published_at": "2026-04-18T00:41:54Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.