8.6

CVE-2022-39252: When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder

Modified
AliasesGHSA-vp68-2wrm-69qmRUSTSEC-2022-0085
Published 29-09-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-39252 is a high (CVSS 8.6) Improper Authentication vulnerability in matrix-org matrix-rust-sdk. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 52.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.64%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 29-09-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust, and matrix-sdk-crypto is the Matrix encryption library. Prior to version 0.6, when a user requests a room key from their devices, the software correctly remembers the request. When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.6 fixes this issue.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.63% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Crates.Io1 product
  • matrix-sdk-crypto< 0.6.0 | ≥ 0.0.0-0, < 0.6.0
Matrix1 product
Matrix-org1 product

3 vendors · 3 products

References

8 links