CVE-2025-66622
matrix-sdk-base is the base component to build a Matrix client …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3
- github.com/matrix-org/matrix-rust-sdk/pull/5924
- github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0
- rustsec.org/advisories/RUSTSEC-2025-0135.html
- nvd.nist.gov/vuln/detail/CVE-2025-66622
- github.com/advisories/GHSA-jj6p-3m75-g2p3
- nvd.nist.gov/vuln/detail/CVE-2025-66622
- cve.org/CVERecord?id=CVE-2025-66622
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.