What’s Vulnerable › Vulnerabilities

CVE-2025-66622: matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values

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.

Affected products

How to fix

Upgrade to a fixed version: matrix-org matrix-rust-sdk 0.16.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66622 or the next vulnerability affects your stack