RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0318

Sending custom to-device messages may panics

Reported
Issued
Package
matrix-sdk-crypto (crates.io)
Type
Vulnerability
Aliases
References
Patched
  • >=0.19.0
Affected Functions
Version
matrix_sdk_crypto::Device::encrypt_event_raw
  • <0.19.0
matrix_sdk_crypto::OlmMachine::encrypt_content_for_devices
  • <0.19.0

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.

Advisory available under CC0-1.0 license.