NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2025-66622: matrix-sdk-base denial of service via custom m.room.join_rules event values

lowCVSS 4.0 1.3GHSA-jj6p-3m75-g2p3

The matrix-sdk-base crate is unable to handle responses that include custom m.room.joinrules 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.

Published Dec 8, 2025 · Updated Dec 9, 2025

Affected packages

matrix-sdk-base

Ecosystem
Rust (crates.io)
Affected
< 0.16.0
Fixed in
0.16.0
Check
cargo tree -i matrix-sdk-base

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 https://github.com/matrix-org/matrix-rust-sdk/pull/5924.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries