Home / matrix-org / matrix-rust-sdk / CVE-2022-39252
CVE-2022-39252: is it exploited, and which versions of matrix-org matrix-rust-sdk are affected and fixed?
CVE-2022-39252 is a key Exchange without Entity Authentication vulnerability in matrix-org matrix-rust-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: matrix-sdk-crypto before 0.6.0 (GitHub advisory GHSA-vp68-2wrm-69qm). Fixed in 0.6.0 (GitHub advisory GHSA-vp68-2wrm-69qm). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-39252?
When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder
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.
From the CVE record by GitHub_M, last updated April 23, 2025, 16:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| matrix-org | matrix-rust-sdk | < 0.6 |
As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | matrix-sdk-crypto | < 0.6.0 | 0.6.0 | GHSA-vp68-2wrm-69qm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 30, 2022. Summary: matrix-sdk-crypto contains potential impersonation via room key forward responses.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| matrix | matrix-rust-sdk | before 0.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:58 UTC.
How severe is CVE-2022-39252?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-39252 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 23, 2025)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-vp68-2wrm-69qm x_refsource_CONFIRM
- https://github.com/matrix-org/matrix-rust-sdk/commit/093fb5d0aa21c0b5eaea6ec96b477f1075271cbb x_refsource_MISC
- https://github.com/matrix-org/matrix-rust-sdk/commit/41449d2cc360e347f5d4e1c154ec1e3185f11acd x_refsource_MISC
- https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.6.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 2, 2022
- Published
- September 29, 2022, 14:15 UTC
- CVE record updated
- April 23, 2025, 16:54 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:58 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect matrix-rust-sdk?
- Sep 11, 2026CVE-2026-45056 matrix-org matrix-rust-sdk: authentication bypass by spoofing
- Dec 9, 2025CVE-2025-66622 matrix-org matrix-rust-sdk: exceptional condition mishandled
- Sep 11, 2025CVE-2025-59047 matrix-org matrix-rust-sdk: incorrect calculation
- Jul 10, 2025CVE-2025-53549 matrix-org matrix-rust-sdk: SQL injection
- Jun 10, 2025CVE-2025-48937 matrix-org matrix-rust-sdk: authentication bypass by spoofing
- Jan 7, 2025CVE-2024-52813 matrix-org matrix-rust-sdk: omission of Security-relevant Information
- Jul 18, 2024CVE-2024-40648 matrix-org matrix-rust-sdk: authentication bypass (improper authentication)
Questions about CVE-2022-39252
Is CVE-2022-39252 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of matrix-org matrix-rust-sdk are affected by CVE-2022-39252?
matrix-sdk-crypto before 0.6.0, per the GitHub advisory GHSA-vp68-2wrm-69qm. The tables above give every range the sources list.
Which version fixes CVE-2022-39252?
0.6.0, per the GitHub advisory GHSA-vp68-2wrm-69qm. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-39252?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-39252?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.