Medium severity · published Jun 10, 2025
CVE-2025-48937
matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator
4.9
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
matrix-rust-sdk · matrix-org
>= 0.8.0, < 0.11.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-48937
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-48937
github.com
https://github.com/matrix-org/matrix-rust-sdk/commit/13c1d2048286bbabf5e7bc6b015aafee98f04d55
github.com
https://github.com/matrix-org/matrix-rust-sdk/commit/56980745b4f27f7dc72ac296e6aa003e5d92a75b
github.com
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-x958-rvg6-956w
spec.matrix.org
https://spec.matrix.org/v1.14/client-server-api/#mmegolmv1aes-sha2
More from matrix-rust-sdk
7.5
CVE-2025-66622
matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values
7.5
CVE-2022-39252
When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder
6.9
CVE-2026-45056
Matrix Rust SDK: Sender-binding gaps in to-device and room-key attribution
5.2
CVE-2025-53549
Matrix Rust SDK allows SQL injection in the EventCache implementation
4.3
CVE-2024-52813
matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity
