Skip to main content
CVE-2025-66622VulnerabilityPublished

CVE-2025-66622: matrix-rust-sdk · Improper Handling of Exceptional Conditions

Affects matrix-rust-sdkSource CVE Database V5

0

Not known to be exploited · CVSS 1.3 Low : upgrade to 0.16.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
1.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.16.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade matrix-org/matrix-rust-sdk to 0.16.0.

Affected software

ProductAffectedFixed in
crates.iomatrix-org/matrix-rust-sdkpkg:cargo/matrix-org/matrix-rust-sdkOther threatsAffected
  • <0.16.0
Fixed in
  • 0.16.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately identify any Matrix clients or services built on matrix-rust-sdk versions prior to 0.16.0. The primary mitigation is to upgrade all affected SDK instances to version 0.16.0 or later, which contains the fix for the serialization bug. Additionally, organizations should implement monitoring of Matrix room invitations to detect and flag invitations containing unusual or custom m.room.join_rules values that could trigger the vulnerability. Network segmentation and application-layer filtering could be employed to limit invitations from untrusted sources. User training to recognize suspicious invitations may reduce the risk of inadvertent acceptance. For self-hosted Matrix servers, administrators should review logs for sync stalls or errors related to join rules and apply patches promptly. Incorporating robust error handling and timeout mechanisms in client implementations can further mitigate sync stalls. Finally, maintaining an up-to-date inventory of software components and dependencies will facilitate rapid response to similar vulnerabilities.

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.

References

Community reviews

Loading reviews…