CVE-2026-45056
MEDIUM 6.9CVSS 4.0Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
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.
- Published
- 11 Sep 2026
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-290
- Also known as
- GHSA-wfq4-36m3-9g42RUSTSEC-2026-0159
- Sources
- NVDJSONOSV GHSA-wfq4-36m3-9g42JSONOSV RUSTSEC-2026-0159JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | matrix-sdk-crypto | >= 0.12.0, < 0.16.1 | 0.16.1 |
References
- 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://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-wfq4-36m3-9g42 · WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0159.html · WEB, ADVISORY
- https://github.com/matrix-org/matrix-rust-sdk · PACKAGE
- https://crates.io/crates/matrix-sdk-crypto · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 11 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2026)