State Machine Vulnerability in Matrix SDK Crypto Affecting End-to-End Encryption
CVE-2026-45056
6.9MEDIUM
What is CVE-2026-45056?
The matrix-sdk-crypto library, which manages end-to-end encryption for Matrix clients, lacked essential validation for user IDs during the decryption process of Olm-encrypted events that included the sender_device_keys attribute. This oversight allows an attacker, in collusion with the homeserver operator, to potentially forge encrypted to-device messages. The vulnerability was addressed in version 0.17.0 of the matrix-sdk-crypto library, with no available workarounds for affected versions.
Affected Version(s)
matrix-rust-sdk >= 0.12.0, < 0.16.1
