GHSA-jjmc-4p83-pp26 · Severity: medium · Ecosystem: maven — Logic error in Matrix SDK for Android
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.
Conclusion & alert: CVE-2021-40824 is rated Low Risk (35.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.15%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-26 | 0.24% | 0.15% | -0.09% |
| 2 | 2025-11-21 | 0.15% | 0.24% | +0.09% |
| 3 | 2025-11-18 | — | 0.15% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-jjmc-4p83-pp26 · Severity: medium · Ecosystem: maven — Logic error in Matrix SDK for Android
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2021-40824: 2 source package rows (element-web, riot-web); 8 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 8, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-40824 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| matrix | element | < 1.2.2 | cpe:2.3:a:matrix:element:*:*:*:*:*:android:*:* |
| matrix | matrix-android-sdk2 | < 1.2.2 | cpe:2.3:a:matrix:matrix-android-sdk2:*:*:*:*:*:android:*:* |
| URL | Tags |
|---|---|
| https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2 | Patch Third Party Advisory |
| https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing | Vendor Advisory |