RUSTSEC-2026-0159

Source
https://rustsec.org/advisories/RUSTSEC-2026-0159
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0159.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0159
Aliases
Published
2026-06-03T12:00:00Z
Modified
2026-06-04T12:15:04.150077089Z
Summary
Sender-binding gaps in to-device messages
Details

The matrix-sdk-crypto crate before 0.16.1 is missing a check for the sender's user ID when decrypting an Olm-encrypted to-device message containing the senderdevicekeys property.

This could be exploited to spoof the sender of an encrypted to-device message, but only if the attacker colludes with (or is) the homeserver operator.

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.12.0
Fixed
0.16.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

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