# CVE-2026-45056: Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-11 · Modified: 2026-09-14
- Aliases: GHSA-wfq4-36m3-9g42, RUSTSEC-2026-0159
- Record: https://cvemate.com/vulnerability/CVE-2026-45056 · JSON: https://cvemate.com/vulnerability/CVE-2026-45056/json

## Description

```text
matrix-sdk-crypto is a no-network-IO implementation of a state machine that handles end-to-end encryption for Matrix clients. Starting in version 0.12.0 and prior to version 0.17.0, the matrix-sdk-crypto crate was missing a check for the user ID when decrypting an Olm-encrypted event containing the `sender_device_keys` property. This could be exploited to forge an encrypted to-device event, but only if the attacker colludes with the homeserver operator. This issue is fixed in matrix-sdk-crypto 0.17.0. There are no known workarounds for the issue.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.234%, percentile 15.359%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io matrix-sdk-crypto (Crates.Io): ≥ 0.12.0, \< 0.16.1
- matrix-org matrix-rust-sdk: ≥ 0.12.0, \< 0.16.1

## References

- <https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42>
- <https://github.com/matrix-org/matrix-rust-sdk/pull/6553>
- <https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.16.1>
- <https://rustsec.org/advisories/RUSTSEC-2026-0159.html>
- <https://github.com/matrix-org/matrix-rust-sdk>
- <https://crates.io/crates/matrix-sdk-crypto>

---

Data as of 2026-12-05T09:54:52.098Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
