Advisory

RUSTSEC-2026-0318

Also known as: GHSA-45pr-7vv7-f64m

Summary

Sending custom to-device messages may panics

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-09-29 12:00 UTC
Modified
2026-10-01 20:30 UTC

Affected packages and fixes

matrix-sdk-crypto

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.19.0 (semver)

Fixed versions

0.19.0

Fix

  • Fixed version 0.19.0
    cargo update -p matrix-sdk-crypto --precise 0.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences