Advisory

GHSA-jj6p-3m75-g2p3

Also known as: CVE-2025-66622, RUSTSEC-2025-0135

Summary

matrix-sdk-base denial of service via custom m.room.join_rules event values

Details

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.

Patches
The issue is fixed in matrix-sdk-base 0.16.0.

Workarounds

Users can leave affected rooms on another client to mitigate the issue.

References

The issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/5924.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-12-08 22:07 UTC
Modified
2025-12-09 19:36 UTC

Affected packages and fixes

matrix-sdk-base

crates.io · All systems

Affected

  • introduced 0, fixed 0.16.0 (semver)

Fixed versions

0.16.0

Fix

  • Fixed version 0.16.0
    cargo update -p matrix-sdk-base --precise 0.16.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences