High severity · published Dec 9, 2025
CVE-2025-66622
matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
matrix-sdk-base is the base component to build a Matrix client library. Versions 0.14.1 and prior are unable to handle responses that include custom m.room.join_rules values due to a serialization bug. This can be exploited to cause a denial-of-service condition, if a user is invited to a room with non-standard join rules, the crate's sync process will stall, preventing further processing for all rooms. This is fixed in version 0.16.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% 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.16.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-66622
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-66622
Patch
https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0
Issue Tracking
https://github.com/matrix-org/matrix-rust-sdk/pull/5924
Patch
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3
Third Party Advisory
https://rustsec.org/advisories/RUSTSEC-2025-0135.html
More from matrix-rust-sdk
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.9
CVE-2025-48937
matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator
4.3
CVE-2024-52813
matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity
