{"id":"CVE-2025-66622","aliases":["CVE-2025-66622","GHSA-jj6p-3m75-g2p3","RUSTSEC-2025-0135"],"related":[],"kind":"vulnerability","state":"published","title":"matrix-sdk-base is vulnerable to DoS via custom m.room.join_rules event values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The matrix-sdk-base crate is unable to handle responses that include custom m.room.join_rules values due to a serialization bug.\n\nThis 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.\n\n### Patches\nThe issue is fixed in matrix-sdk-base 0.16.0.\n\n### Workarounds\n\nUsers can leave affected rooms on another client to mitigate the issue.\n\n### References\n\nThe issue was fixed in https://github.com/matrix-org/matrix-rust-sdk/pull/5924.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The matrix-sdk-base crate is unable to handle responses that include custom\nm.room.join_rules values due to a serialization bug.\n\nThis can be exploited to cause a denial-of-service condition, if a user is\ninvited to a room with non-standard join rules, the crate's sync process will\nstall, preventing further processing for all rooms.","format":"markdown","source":"rustsec"},{"lang":"es","text":"matrix-sdk-base es el componente base para construir una biblioteca cliente de Matrix. Las versiones 0.14.1 y anteriores no pueden manejar respuestas que incluyen valores personalizados de m.room.join_rules debido a un error de serialización. Esto puede ser explotado para causar una condición de denegación de servicio: si un usuario es invitado a una sala con reglas de unión no estándar, el proceso de sincronización del crate se detendrá, impidiendo el procesamiento posterior para todas las salas. Esto está corregido en la versión 0.16.0.","source":"nvd"}],"published":"2025-12-08T12:00:00.000Z","modified":"2026-10-12T18:00:07.355Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-755"],"affected":[{"ranges":[{"version":"< 0.16.0","status":"affected"}],"vendor":"matrix-org","product":"matrix-rust-sdk","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.0"}],"ecosystem":"crates.io","package":"matrix-sdk-base","purl":"pkg:cargo/matrix-sdk-base","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.16.0"}],"ecosystem":"crates.io","package":"matrix-sdk-base","purl":"pkg:cargo/matrix-sdk-base","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.16.0"}],"vendor":"matrix","product":"matrix-rust-sdk","cpe":"cpe:2.3:a:matrix:matrix-rust-sdk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-jj6p-3m75-g2p3","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/pull/5924","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/commit/4ea0418abefab2aa93f8851a4d39c723e703e6b0","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0135.html","tags":["advisory","third-party-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66622","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/matrix-org/matrix-rust-sdk","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/matrix-sdk-base","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-09T14:16:11.253Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66622","url":"https://www.cve.org/CVERecord?id=CVE-2025-66622","licence":"CVE Terms of Use","modified":"2025-12-09T16:02:47.455Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jj6p-3m75-g2p3","url":"https://github.com/advisories/GHSA-jj6p-3m75-g2p3","licence":"CC-BY-4.0","modified":"2025-12-09T19:36:28.271Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0135","url":"https://rustsec.org/advisories/RUSTSEC-2025-0135.html","licence":"CC0-1.0","modified":"2026-10-12T18:00:07.355Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66622","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66622","licence":"Public domain","modified":"2026-10-07T20:10:01.970Z"}],"updatedAt":"2026-11-25T22:59:08.541Z","epss":{"score":0.00443,"percentile":0.40256,"date":"2026-12-01T12:00:22.000Z"}}