RUSTSEC-2026-0318

Source
https://rustsec.org/advisories/RUSTSEC-2026-0318
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0318.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0318
Aliases
  • GHSA-45pr-7vv7-f64m
Published
2026-09-29T12:00:00Z
Modified
2026-10-01T20:30:02Z
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.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / matrix-sdk-crypto

Package

Name
matrix-sdk-crypto
View open source insights on deps.dev
Purl
pkg:cargo/matrix-sdk-crypto

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.19.0

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [
            "matrix_sdk_crypto::Device::encrypt_event_raw",
            "matrix_sdk_crypto::OlmMachine::encrypt_content_for_devices"
        ],
        "os":  []
    }
}

Database specific

categories
[]
cvss
null
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0318.json"