Vulnerability in Matrix Matrix-Rust-Sdk
CVE-2025-66622
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 39.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Matrix Matrix-Rust-Sdk
- Matrix-Org Matrix-Rust-Sdk — versions < 0.16.0
Weakness classification (CWE)
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3 (Patch, Vendor Advisory)
- https://github.com/matrix-org/matrix-rust-sdk/pull/5924 (Patch, Issue Tracking)
- https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0 (Patch)
- https://rustsec.org/advisories/RUSTSEC-2025-0135.html (Third Party Advisory)