Search
Find a vulnerability
Search criteria
Related vulnerabilities
RUSTSEC-2026-0318 (GHSA-45PR-7VV7-F64M)
Vulnerability from osv_rustsec – Published: 2026-09-29 12:00 – Updated: 2026-10-01 20:25 – Source website
VLAI
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.
{
"affected": [
{
"database_specific": {
"categories": [],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"matrix_sdk_crypto::Device::encrypt_event_raw",
"matrix_sdk_crypto::OlmMachine::encrypt_content_for_devices"
],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "matrix-sdk-crypto",
"purl": "pkg:cargo/matrix-sdk-crypto"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.19.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-45pr-7vv7-f64m"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "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.",
"id": "RUSTSEC-2026-0318",
"modified": "2026-10-01T20:25:27Z",
"published": "2026-09-29T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/matrix-sdk-crypto"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0318.html"
},
{
"type": "WEB",
"url": "https://github.com/matrix-org/matrix-rust-sdk/pull/6670"
},
{
"type": "WEB",
"url": "https://github.com/matrix-org/matrix-rust-sdk/commit/01b45b51299821ab03fecf46741392780f118d49"
}
],
"related": [],
"severity": [],
"summary": "Sending custom to-device messages may panics"
}