All reports
Low

nimiq-transaction: Panic via `HistoryTreeProof` length mismatch

Affected versions

Rust / Cargonimiq-transaction
Affected versions
<= 0.2.0
Fixed version
Not reported

Exploitation

CVE-2026-34067

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-22

Description

Impact

HistoryTreeProof::verify panics on a malformed proof where history.len() != positions.len() due to assert_eq!(history.len(), positions.len()).

The proof object is derived from untrusted p2p responses (ResponseTransactionsProof.proof) and is therefore attacker-controlled at the network boundary until validated. A malicious peer could trigger a crash by returning a crafted inclusion proof with a length mismatch.

Patches

The patch for this vulnerability is included as part of v1.3.0.

Workarounds

No known workarounds know.

Links

Credits

  • 1seal
  • paberr