{"schema_version":"1.9.0","id":"RUSTSEC-2026-0159","published":"2026-06-03T12:00:00Z","modified":"2026-10-12T18:00:09.240103517Z","aliases":["CVE-2026-45056","GHSA-wfq4-36m3-9g42"],"summary":"Sender-binding gaps in to-device messages","details":"The matrix-sdk-crypto crate before 0.16.1 is missing a check for the sender's\nuser ID when decrypting an Olm-encrypted to-device message containing the\nsender_device_keys property.\n\nThis could be exploited to spoof the sender of an encrypted to-device message,\nbut only if the attacker colludes with (or is) the homeserver operator.","affected":[{"package":{"name":"matrix-sdk-crypto","ecosystem":"crates.io","purl":"pkg:cargo/matrix-sdk-crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"},{"fixed":"0.16.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0159.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/matrix-sdk-crypto"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0159.html"},{"type":"WEB","url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6553"}],"database_specific":{"license":"CC0-1.0"}}