ADVISORIES

Vulnerability

CVE-2021-40824

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.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Alpine 1Maven 1

Advisories

  • ALPINE-CVE-2021-40824

    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…

    CVE-2021-40824 Alpine Updated 3 November 2026
  • GHSA-jjmc-4p83-pp26

    Logic error in Matrix SDK for Android

    Moderate CVE-2021-40824 Maven Updated 16 February 2024

References