{"id":"RUSTSEC-2026-0318","revision":"c31085931a21449f9f4da79e42ceea4d","records":[{"revision":"c31085931a21449f9f4da79e42ceea4d","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0318","aliases":["GHSA-45pr-7vv7-f64m"],"title":"Sending custom to-device messages may panics","description":"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.","state":0,"publishedAt":"2026-09-29T12:00:00+00:00","modifiedAt":"2026-10-01T20:30:02.6878395+00:00","affected":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.19.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/matrix-sdk-crypto","https://rustsec.org/advisories/RUSTSEC-2026-0318.html","https://github.com/matrix-org/matrix-rust-sdk/pull/6670","https://github.com/matrix-org/matrix-rust-sdk/commit/01b45b51299821ab03fecf46741392780f118d49"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0318","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0318","identifiers":["RUSTSEC-2026-0318","GHSA-45pr-7vv7-f64m"]},"retained":false,"historicalAffected":[]}],"coverage":[]}