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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-03T12:00:00.000Z
- Modified: 2026-10-12T18:00:09.240Z
- Also known as: GHSA-wfq4-36m3-9g42, RUSTSEC-2026-0159
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org matrix-rust-sdk: >= 0.12.0, < 0.16.1
- matrix-sdk-crypto (crates.io): from 0.12.0 before 0.16.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

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

## Sources

- CVE List: [CVE-2026-45056](https://www.cve.org/CVERecord?id=CVE-2026-45056), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-wfq4-36m3-9g42](https://github.com/advisories/GHSA-wfq4-36m3-9g42), CC-BY-4.0, modified 2026-06-04
- RustSec Advisory Database: [RUSTSEC-2026-0159](https://rustsec.org/advisories/RUSTSEC-2026-0159.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-45056](https://nvd.nist.gov/vuln/detail/CVE-2026-45056), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-45056 · Whole record: https://cve.day/CVE-2026-45056.json · Rebuilt by cve.day 2026-11-25T22:59:38.151Z
