Insufficient verification of data authenticity in Matrix SDK for Android - CVE-2022-39248

 

Insufficient verification of data authenticity in Matrix SDK for Android - CVE-2022-39248

Published: September 28, 2022 / Updated: November 25, 2026


Vulnerability identifier: #VU170141
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-39248
CWE-ID: CWE-345
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Matrix SDK for Android

How to mitigate CVE-2022-39248

Install security update from vendor's website.

Matrix SDK for Android - update to 1.5.1

External References

Related Security Bulletins