# CVE-2025-66622: matrix-sdk-base is vulnerable to DoS via custom m.room.join\_rules event values

- Priority: **Routine**
- Reason: Not severe (CVSS 1.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-09 · Modified: 2025-12-09
- Aliases: GHSA-jj6p-3m75-g2p3, RUSTSEC-2025-0135
- Record: https://cvemate.com/vulnerability/CVE-2025-66622 · JSON: https://cvemate.com/vulnerability/CVE-2025-66622/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.443%, percentile 40.264%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io matrix-sdk-base (Crates.Io): \< 0.16.0 \| ≥ 0.0.0-0, \< 0.16.0
- matrix-org matrix-rust-sdk: \< 0.16.0
- matrix matrix-rust-sdk: \< 0.16.0

## References

- <https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3>
- <https://github.com/matrix-org/matrix-rust-sdk/pull/5924>
- <https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0>
- <https://rustsec.org/advisories/RUSTSEC-2025-0135.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66622>
- <https://github.com/matrix-org/matrix-rust-sdk>
- <https://crates.io/crates/matrix-sdk-base>

---

Data as of 2026-12-05T05:21:34.754Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
