matrix-sdk-base denial of service via custom m.room.join_rules event values
Low severity
GitHub Reviewed
Published
Dec 8, 2025
in
matrix-org/matrix-rust-sdk
•
Updated Dec 8, 2025
Description
Published to the GitHub Advisory Database
Dec 8, 2025
Reviewed
Dec 8, 2025
Last updated
Dec 8, 2025
The matrix-sdk-base crate is 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.
Patches
The issue is fixed in matrix-sdk-base 0.16.0.
Workarounds
Users can leave affected rooms on another client to mitigate the issue.
References
The issue was fixed in matrix-org/matrix-rust-sdk#5924.
References