CVE-2025-66622 matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values
LowCVSS 1.3
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io matrix-sdk-base(crates.io) | < 0.16.0; >= 0.0.0-0, < 0.16.0 | 0.16.0 | Fixed |
| matrix-rust-sdk | < 0.16.0 | 0.16.0 | Fixed |
| matrix-org matrix-rust-sdk | = < 0.16.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io matrix-sdk-base(crates.io) | < 0.16.0 | 0.16.0 |
| crates.io matrix-sdk-base(crates.io) | >= 0.0.0-0, < 0.16.0 | 0.16.0 |
| matrix-org matrix-rust-sdk | = < 0.16.0 | No fix listed |
| matrix-rust-sdk | < 0.16.0 | 0.16.0 |
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/matrix-org/matrix-rust-sdk/pull/5924 issue-tracking patch
- https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0 patch
- github.com product
- https://rustsec.org/advisories/RUSTSEC-2025-0135.html third-party-advisory vendor-advisory
- crates.io product
- github.com