Vulnerabilities · 2021 · Matrix
CVE-2021-40824
Matrix Element vulnerability
A logic error in the room key sharing functionality of Element Android before 1.2.2 and matrix-android-sdk2 (aka Matrix SDK for Android) before 1.2.2 allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys (via crafted Matrix protocol messages) that were originally sent by affected Matrix clients participating in that room. This allows the attacker to decrypt end-to-end encrypted messages sent by affected clients.
Affected products
Element, Matrix-android-sdk2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix Element runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Matrix products
CVE-2025-30355CVE-2025-27146CVE-2024-53863CVE-2024-52815CVE-2024-52805CVE-2024-45193CVE-2024-45192CVE-2024-45191All 80
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.