{"id":"GHSA-h9cc-w26m-j342","summary":"nimiq-keys: Denial of service in Ed25519 multisig delinearization via invalid curve points","details":"### Impact\n\nA denial-of-service vulnerability exists in the Ed25519 multisig delinearization code path. `Ed25519PublicKey::delinearize()` in `keys/src/multisig/mod.rs` called `.unwrap()` on curve point decompression, which panics when a public key is\nconstructed from 32 bytes that do not represent a valid point on the Ed25519 curve. `Ed25519PublicKey` construction only validates byte length, not curve membership, so invalid keys can reach the delinearization path and crash the\nhosting process.\n\nA secondary panic existed in `Commitment::From\u003c[u8; 32]\u003e`, which similarly called `.unwrap()` on a failing curve point decompression.\n\n**Who is affected:** Browser and desktop wallet users of the web-client WASM library and the `nimiq-wallet` crate, when initiating a multisig operation with an attacker-supplied public key. An attacker must convince the user to include\na crafted public key in a multisig setup — this is not a remotely triggerable node/validator crash.\n\n**Who is NOT affected:** Validator nodes, consensus, blockchain, mempool, and networking code. There is no on-chain multisig account type; multisig is a purely client-side construct, and no validator/consensus code calls the multisig  delinearization path.\n\n### Patches\n\nSee [PR](https://github.com/nimiq/core-rs-albatross/pull/3713).\n\n### Workarounds\n\nNo code-level workaround exists short of the patch. Users of wallet applications can mitigate exposure by only performing multisig operations with public keys received from trusted sources.\n\n### Resources\n- Affected code: `keys/src/multisig/mod.rs`, `keys/src/multisig/commitment.rs`","aliases":["CVE-2026-46542"],"modified":"2026-06-10T13:45:15.229652763Z","published":"2026-05-21T19:45:08Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-21T19:45:08Z","nvd_published_at":"2026-06-10T00:16:54Z","cwe_ids":["CWE-617"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-h9cc-w26m-j342"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46542"},{"type":"WEB","url":"https://github.com/nimiq/core-rs-albatross/pull/3713"},{"type":"WEB","url":"https://github.com/nimiq/core-rs-albatross/commit/3bc449a8138960c4de6bfd506bad1730c621d4de"},{"type":"PACKAGE","url":"https://github.com/nimiq/core-rs-albatross"},{"type":"WEB","url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0"}],"affected":[{"package":{"name":"nimiq-keys","ecosystem":"crates.io","purl":"pkg:cargo/nimiq-keys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-h9cc-w26m-j342/GHSA-h9cc-w26m-j342.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}