{"id":"CVE-2026-45056","aliases":["RUSTSEC-2026-0159"],"url":"https://o3.security/vulnerability/CVE-2026-45056","summary":"Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution","details":"### Impact\n\nThe `matrix-sdk-crypto` crate before 0.16.1 is missing a check for the sender's user ID when decrypting an Olm-encrypted to-device message containing the `sender_device_keys` property.\n\nThis could be exploited to spoof the sender of an encrypted to-device message, but only if the attacker colludes with (or is) the homeserver operator.\n\n### Patches\n\nThis issue is fixed in `matrix-sdk-crypto` 0.16.1.\n\n### Workarounds\n\nThere are no known workarounds for the issue.\n\n### References\n\nThis issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/6553.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please email us at [security at matrix.org](mailto:security@matrix.org).","published":"2026-06-04T14:47:05Z","modified":"2026-06-04T15:00:08.092172510Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","fixedVersion":"0.16.1"}],"fix":{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6553","label":"matrix-org/matrix-rust-sdk#6553"},"references":[{"type":"WEB","url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42"},{"type":"WEB","url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6553"},{"type":"PACKAGE","url":"https://github.com/matrix-org/matrix-rust-sdk"},{"type":"WEB","url":"https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0159.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-04T15:00:08.092172510Z"}}