Advisory

RUSTSEC-2025-0041

Also known as: CVE-2025-48937, GHSA-x958-rvg6-956w

Summary

matrix-sdk-crypto vulnerable to encrypted event sender spoofing by homeserver administrator

Details

matrix-sdk-crypto versions 0.8.0 up to and including 0.11.0 does not correctly validate
the sender of an encrypted event. Accordingly, a malicious homeserver operator
can modify events served to clients, making those events appear to the recipient
as if they were sent by another user.

Although the CVSS score is 4.9 (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N), we
consider this a High severity security issue.

Severity

Medium Basis: CVSS v3 score 4.9, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2025-06-11 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

matrix-sdk-crypto

crates.io · All systems

Affected

  • introduced 0.8.0, fixed 0.11.1 (semver)

Fixed versions

0.11.1

Fix

  • Fixed version 0.11.1
    cargo update -p matrix-sdk-crypto --precise 0.11.1

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