Email me

Rust advisories / matrix-sdk-crypto

Vulnerability MediumRUSTSEC-2025-0041 · matrix-sdk-crypto

RUSTSEC-2025-0041: matrix-sdk-crypto vulnerable to encrypted event sender spoofing by homeserver administrator

Short answerA security vulnerability in the matrix-sdk-crypto crate: matrix-sdk-crypto vulnerable to encrypted event sender spoofing by homeserver administrator. Medium severity (CVSS 4.9). Fixed in 0.11.1: update to a fixed version.

Cratematrix-sdk-crypto
TypeVulnerability
Affected versionsFrom 0.8.0 before 0.11.1.
Fixed in0.11.1
SeverityMedium, CVSS 4.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Published2025-06-11
Last changed2026-10-12
Also known asCVE-2025-48937, GHSA-x958-rvg6-956w

What to do

  1. See which version you have: cargo tree -i matrix-sdk-crypto (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p matrix-sdk-crypto. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example matrix-sdk-crypto = "0.11.1") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for matrix-sdk-crypto

Full security history of matrix-sdk-crypto

Up next

Same cratematrix-sdk-crypto: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ