CVE-2026-45056
Published:June 09, 2026
Updated:June 09, 2026
Impact 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. Patches This issue is fixed in "matrix-sdk-crypto" 0.16.1. Workarounds There are no known workarounds for the issue. References This issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/6553. For more information If you have any questions or comments about this advisory, please email us at "security at matrix.org" (mailto:security@matrix.org).
Affected Packages
https://github.com/matrix-org/matrix-rust-sdk.git (GITHUB):
Affected version(s) >=matrix-sdk-crypto-0.12.0 <matrix-sdk-crypto-0.16.1Fix Suggestion:
Update to version matrix-sdk-crypto-0.16.1matrix-sdk-crypto (RUST):
Affected version(s) >=0.12.0 <0.16.1Fix Suggestion:
Update to version 0.16.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Authentication Bypass by Spoofing