# GHSA-45pr-7vv7-f64m: Sending custom to-device messages may panics

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-09-29T12:00:00.000Z
- Modified: 2026-10-01T20:30:02.687Z
- Also known as: RUSTSEC-2026-0318

## Description

Using the `IdentityBasedStrategy` setting when calling
`Device::encrypt_event_raw` or `OlmMachine::encrypt_content_for_devices` may
cause a panic if the recipient does not have cross-signing keys.

(As written by RustSec Advisory Database.)

## Affected

- matrix-sdk-crypto (crates.io): from 0.0.0-0 before 0.19.0

## References

- <https://crates.io/crates/matrix-sdk-crypto> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0318.html> (advisory)
- <https://github.com/matrix-org/matrix-rust-sdk/pull/6670> (web)
- <https://github.com/matrix-org/matrix-rust-sdk/commit/01b45b51299821ab03fecf46741392780f118d49> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0318](https://rustsec.org/advisories/RUSTSEC-2026-0318.html), CC0-1.0, modified 2026-10-01

---

Page: https://cve.day/GHSA-45pr-7vv7-f64m · Whole record: https://cve.day/GHSA-45pr-7vv7-f64m.json · Rebuilt by cve.day 2026-11-25T22:56:43.419Z
