{"id":"GHSA-45pr-7vv7-f64m","aliases":["GHSA-45pr-7vv7-f64m","RUSTSEC-2026-0318"],"related":[],"kind":"vulnerability","state":"published","title":"Sending custom to-device messages may panics","summary":"Using the `IdentityBasedStrategy` setting when calling\n`Device::encrypt_event_raw` or `OlmMachine::encrypt_content_for_devices` may\ncause a panic if the recipient does not have cross-signing keys.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"Using the `IdentityBasedStrategy` setting when calling\n`Device::encrypt_event_raw` or `OlmMachine::encrypt_content_for_devices` may\ncause a panic if the recipient does not have cross-signing keys.","format":"markdown","source":"rustsec"}],"published":"2026-09-29T12:00:00.000Z","modified":"2026-10-01T20:30:02.687Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.19.0"}],"ecosystem":"crates.io","package":"matrix-sdk-crypto","purl":"pkg:cargo/matrix-sdk-crypto","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/matrix-sdk-crypto","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0318.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/6670","tags":["web"],"sources":["rustsec"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/commit/01b45b51299821ab03fecf46741392780f118d49","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0318","url":"https://rustsec.org/advisories/RUSTSEC-2026-0318.html","licence":"CC0-1.0","modified":"2026-10-01T20:30:02.687Z"}],"updatedAt":"2026-11-25T22:56:43.419Z"}