GHSA-264v-m8fm-76jm

Suggest an improvement
Source
https://github.com/advisories/GHSA-264v-m8fm-76jm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-264v-m8fm-76jm/GHSA-264v-m8fm-76jm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-264v-m8fm-76jm
Aliases
  • CVE-2026-34067
Published
2026-04-22T19:20:50Z
Modified
2026-05-05T15:59:34.424080Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
nimiq-transaction: Panic via `HistoryTreeProof` length mismatch
Details

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.

Database specific
{
    "nvd_published_at": "2026-04-22T21:17:07Z",
    "cwe_ids": [
        "CWE-617"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-22T19:20:50Z"
}
References

Affected packages

crates.io / nimiq-transaction

Package

Name
nimiq-transaction
View open source insights on deps.dev
Purl
pkg:cargo/nimiq-transaction

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-264v-m8fm-76jm/GHSA-264v-m8fm-76jm.json"