{"id":"GHSA-wfq4-36m3-9g42","revision":"5e6e8dff71284fc1ab56975284b8c42f","records":[{"revision":"5e6e8dff71284fc1ab56975284b8c42f","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-wfq4-36m3-9g42","aliases":["CVE-2026-45056","RUSTSEC-2026-0159"],"title":"Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution","description":"### 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).","state":0,"publishedAt":"2026-06-04T14:47:05+00:00","modifiedAt":"2026-06-04T15:00:08.0921725+00:00","affected":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.12.0"},{"kind":"fixed","version":"0.16.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42","https://github.com/matrix-org/matrix-rust-sdk/pull/6553","https://github.com/matrix-org/matrix-rust-sdk","https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1","https://rustsec.org/advisories/RUSTSEC-2026-0159.html"],"sourceUrl":"https://github.com/advisories/GHSA-wfq4-36m3-9g42","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wfq4-36m3-9g42","identifiers":["GHSA-wfq4-36m3-9g42","CVE-2026-45056","RUSTSEC-2026-0159"]},"retained":false,"historicalAffected":[]}],"coverage":[]}