Advisory

RUSTSEC-2025-0135

Also known as: CVE-2025-66622, GHSA-jj6p-3m75-g2p3

Summary

matrix-sdk-base: Denial of service due to custom m.room.join_rules events

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.

Severity

Not rated by the source.

Dates

Published
2025-12-08 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

matrix-sdk-base

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences