Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. matrix-sdk-base
  4. ›
  5. CVE-2025-66622

CVE-2025-66622: matrix-sdk-base denial of service via custom m.room.join_rules event values

December 8, 2025 (updated December 9, 2025)

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

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

Code Behaviors & Features

Detect and mitigate CVE-2025-66622 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.16.0

Fixed versions

  • 0.16.0

Solution

Upgrade to version 0.16.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

cargo/matrix-sdk-base/CVE-2025-66622.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:20:39 +0000.