CVE-2025-48937
MEDIUM 4.9CVSS 3.1matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. matrix-sdk-crypto since version 0.8.0 and up to 0.11.0 does not correctly validate the sender of an encrypted event. Accordingly, a malicious homeserver operator can modify events served to clients, making those events appear to the recipient as if they were sent by another user. This vulnerability is fixed in 0.11.1 and 0.12.0.
- Published
- 10 Jun 2025
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-290
- Also known as
- GHSA-x958-rvg6-956wRUSTSEC-2025-0041
- Sources
- NVDJSONOSV GHSA-x958-rvg6-956wJSONOSV RUSTSEC-2025-0041JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| OSV | RustSec | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | matrix-sdk-crypto | >= 0.8.0, < 0.11.1 | 0.11.1 |
References
- https://github.com/matrix-org/matrix-rust-sdk/commit/13c1d2048286bbabf5e7bc6b015aafee98f04d55 · WEB
- https://github.com/matrix-org/matrix-rust-sdk/commit/56980745b4f27f7dc72ac296e6aa003e5d92a75b · WEB
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-x958-rvg6-956w · WEB
- https://spec.matrix.org/v1.14/client-server-api/#mmegolmv1aes-sha2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48937 · ADVISORY
- https://github.com/matrix-org/matrix-rust-sdk · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0041.html · WEB, ADVISORY
- https://crates.io/crates/matrix-sdk-crypto · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2025)