Rust advisories / matrix-sdk-base
Vulnerability LowRUSTSEC-2025-0135 · matrix-sdk-base
RUSTSEC-2025-0135: matrix-sdk-base: Denial of service due to custom `m.room.join_rules` events
Short answerA security vulnerability in the matrix-sdk-base crate: matrix-sdk-base: Denial of service due to custom `m.room.join_rules` events. GitHub rates it Low. Fixed in 0.16.0: update to a fixed version.
| Crate | matrix-sdk-base |
|---|---|
| Type | Vulnerability (denial-of-service) |
| Affected versions | Before 0.16.0. |
| Fixed in | 0.16.0 |
| Severity | Low (GitHub rating) |
| Published | 2025-12-08 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2025-66622, GHSA-jj6p-3m75-g2p3 |
What to do
- See which version you have:
cargo tree -i matrix-sdk-base(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p matrix-sdk-base. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplematrix-sdk-base = "0.16.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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.
References
- Package: crates.io/crates/matrix-sdk-base
- Advisory: rustsec.org/advisories/RUSTSEC-2025-0135.html
- Web: github.com/matrix-org/matrix-rust-sdk/pull/5924
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for matrix-sdk-base
Up next
Same cratematrix-sdk-base: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?