CVE-2022-39252: When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder
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.
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?Timeline
- 29-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last 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- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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-rust-sdk< 0.6
Matrix-org1 product
- matrix-rust-sdk< 0.6
3 vendors · 3 products
References
8 links- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-vp68-2wrm-69qmX Refsource CONFIRMWEBThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/commit/093fb5d0aa21c0b5eaea6ec96b477f1075271cbbX Refsource MISCWEBPatchThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/commit/41449d2cc360e347f5d4e1c154ec1e3185f11acdX Refsource MISCWEBPatchThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.6.0X Refsource MISCWEBRelease NotesThird Party Advisory