Quick answers
- Is CVE-2026-45056 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-45056 being exploited in the wild.
- How severe is CVE-2026-45056?
- Medium severity, with a CVSS score of 4, published 11 September 2026.
- Which products and versions are affected?
- matrix-sdk-crypto (crates.io) >= 0.12.0, < 0.16.1, SEMVER:introduced=0.12.0,fixed=0.16.1.
- Is there a fix for CVE-2026-45056?
- Yes. matrix-sdk-crypto (crates.io): upgrade to 0.16.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-45056 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-45056?
- Check whether you run matrix-sdk-crypto (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- matrix-sdk-crypto (crates.io): upgrade to 0.16.1 or later
cargo update -p matrix-sdk-crypto
Technical details
The matrix-sdk-crypto crate fails to validate the sender's user ID when decrypting Olm-encrypted to-device messages that include the sender_device_keys property. This vulnerability, classified as CWE-290 (Authentication Bypass by Spoofing), allows an attacker who controls or colludes with a homeserver operator to forge the origin of encrypted messages. The root cause is located in the decryption logic where the embedded device keys are not properly bound to the expected sender's identity. The issue is resolved in version 0.16.1 by implementing a mandatory check for the user ID in the embedded device keys.
Affected products
- Matrix matrix-sdk-crypto >= 0.12.0, < 0.16.1
Identifiers
- CVE-2026-45056
- GHSA-wfq4-36m3-9g42
- RUSTSEC-2026-0159
Timeline
- 2026-05-08: patched: Fix merged in pull request 6553 and released in version 0.16.1
- 2026-06-03: disclosed: Initial disclosure by dkasak
- 2026-06-04: advisory: GitHub Advisory GHSA-wfq4-36m3-9g42 published
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://api.github.com/repos/matrix-org/matrix-rust-sdk/security-advisories/GHSA-wfq4-36m3-9g42