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

- Severity: Low 1.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-12-08T12:00:00.000Z
- Modified: 2026-10-12T18:00:07.355Z
- Also known as: GHSA-jj6p-3m75-g2p3, RUSTSEC-2025-0135
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org matrix-rust-sdk: < 0.16.0
- matrix-sdk-base (crates.io): before 0.16.0; from 0.0.0-0 before 0.16.0
- matrix matrix-rust-sdk: before 0.16.0

## Every score

- GitHub_M: CVSS:4.0 1.3 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3> (patch, vendor-advisory, web)
- <https://github.com/matrix-org/matrix-rust-sdk/pull/5924> (issue-tracking, patch, web)
- <https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0> (patch, web)
- <https://rustsec.org/advisories/RUSTSEC-2025-0135.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66622> (advisory)
- <https://github.com/matrix-org/matrix-rust-sdk> (package)
- <https://crates.io/crates/matrix-sdk-base> (package)

## Sources

- CVE List: [CVE-2025-66622](https://www.cve.org/CVERecord?id=CVE-2025-66622), CVE Terms of Use, modified 2025-12-09
- GitHub Advisory Database: [GHSA-jj6p-3m75-g2p3](https://github.com/advisories/GHSA-jj6p-3m75-g2p3), CC-BY-4.0, modified 2025-12-09
- RustSec Advisory Database: [RUSTSEC-2025-0135](https://rustsec.org/advisories/RUSTSEC-2025-0135.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2025-66622](https://nvd.nist.gov/vuln/detail/CVE-2025-66622), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-66622 · Whole record: https://cve.day/CVE-2025-66622.json · Rebuilt by cve.day 2026-11-25T22:59:08.541Z
