Skip to content
OpenAdvisories
Medium · 4.9 CVE-2025-48937 EUVD-2025-17711GHSA-x958-rvg6-956wRUSTSEC-2025-0041

matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator

Published Jun 10, 2025 · Updated Jun 10, 2025 · Assigned by GitHub_M

Description

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. matrix-sdk-crypto since version 0.8.0 and up to 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. This vulnerability is fixed in 0.11.1 and 0.12.0.

Affected products

VendorProductAffectedFixed
matrix-org matrix-rust-sdk >= 0.8.0, < 0.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed fractal 11.2-1.1 openSUSE-SU-2025:15218-1

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io matrix-sdk-crypto >= 0.8.0, < 0.11.1 0.11.1 GHSA-x958-rvg6-956w

Advisories 1

References