Skip to content
Heist/ feed
HighFix available

zebrad vulnerable to full node denial of service via crafted Sapling receiver in z_listunifiedreceivers

Type: advisorySource: OSV1 source record

### Am I affected You are affected if: 1. You run `zebrad` up to and including `v4.4.1`. 2. Your `zebrad.toml` sets `rpc.listen_addr` to a TCP address (RPC server is enabled). 3. An attacker can authenticate to the RPC endpoint. With the default `enable_cookie_auth = true`, this requires the attacker to read the `.cookie` file (typically local access). With `enable_cookie_auth = false`, any network client reaching the RPC port can trigger it. ### Summary The `z_listunifiedreceivers` RPC handler panics when processing a structurally valid Unified Address whose Sapling receiver carries 43 bytes that fail cryptographic validation (`sapling_crypto::PaymentAddress::from_bytes` returns `None` for non-subgroup Jubjub points). The handler calls `.expect("using data already decoded as valid")` on the fallible result. Because Zebra's release profile sets `panic = "abort"`, the panic terminates the entire node process, not just the RPC task. ### Details `zcash_address::unified::Encoding::decode` validates only the structural envelope of a Unified Address (F4Jumble, bech32m, typecode ordering, 43-byte length for Sapling). It does not validate that the embedded `pk_d` is a valid Jubjub subgroup point or that the diversifier produces a valid `g_d` preimage. At `zebra-rpc/src/methods.rs:2893`, the handler calls `Address::try_from_sapling(network, data)`, which delegates to `sapling_crypto::PaymentAddress::from_bytes`. When `from_bytes` returns `None` (most random 32-byte strings fail the su

Announced Group revision 1
Original source ↗

GHSA-c8w6-x74f-vmg3

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-c8w6-x74f-vmg3

zebra-rpc

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
8.0.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

zebrad

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
4.5.0

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "8.0.0"
          }
        ]
      }
    ],
    "package": {
      "name": "zebra-rpc",
      "purl": "pkg:cargo/zebra-rpc",
      "ecosystem": "crates.io"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c8w6-x74f-vmg3/GHSA-c8w6-x74f-vmg3.json",
      "last_known_affected_version_range": "<= 7.0.0"
    }
  },
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.5.0"
          }
        ]
      }
    ],
    "package": {
      "name": "zebrad",
      "purl": "pkg:cargo/zebrad",
      "ecosystem": "crates.io"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c8w6-x74f-vmg3/GHSA-c8w6-x74f-vmg3.json",
      "last_known_affected_version_range": "<= 4.4.1"
    }
  }
]
Related CVEs
CVE-2026-104434

Source reference: /aliases

Publisher severity

medium

Source reference: /severity/0/score

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#72829 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement