ADVISORIES

RustSec Advisory Database

RUSTSEC-2025-0041

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.

Affected packages

EcosystemPackageAffected versions
crates.iomatrix-sdk-crypto
From 0.8.0 before 0.11.1 (fixed in 0.11.1)

References