Insufficient verification of data authenticity in Matrix SDK for Android - CVE-2022-39248
Published: September 28, 2022 / Updated: November 25, 2026
Vulnerability details
The vulnerability allows a remote attacker to impersonate other users without a visible warning and induce a targeted device to trust a malicious key backup.
The vulnerability exists due to insufficient verification of message authenticity in the Matrix SDK for Android when it accepts Megolm-encrypted to-device messages instead of requiring Olm encryption. A remote attacker can cooperate with a malicious homeserver to spoof another user's messages or send forged to-device messages during self-verification to trick a target device into using and signing a malicious key backup.