Loading advisory.
Loading advisory.
Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
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 sender_device_keys property.
Published 2026-06-03 12:00 UTC · Modified 2026-10-12 18:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| matrix-sdk-crypto | crates.io | >= 0.12.0, < 0.16.1 | 0.16.1 | cargo add matrix-sdk-crypto@0.16.1 |
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 sender_device_keys 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.
This issue is fixed in matrix-sdk-crypto 0.16.1.
There are no known workarounds for the issue.
This issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/6553.
If you have any questions or comments about this advisory, please email us at security at matrix.org.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.003 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |