Email me

Rust advisories / matrix-sdk-crypto

Vulnerability MediumRUSTSEC-2026-0159 · matrix-sdk-crypto

RUSTSEC-2026-0159: Sender-binding gaps in to-device messages

Short answerA security vulnerability in the matrix-sdk-crypto crate: Sender-binding gaps in to-device messages. GitHub rates it Medium. Fixed in 0.16.1: update to a fixed version.

Cratematrix-sdk-crypto
TypeVulnerability
Affected versionsFrom 0.12.0 before 0.16.1.
Fixed in0.16.1
SeverityMedium (GitHub rating)
Published2026-06-03
Last changed2026-10-12
Also known asCVE-2026-45056, GHSA-wfq4-36m3-9g42

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.16.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

The matrix-sdk-crypto crate before 0.16.1 is missing a check for the sender's user ID when decrypting an Olm-encrypted to-device message containing the sender_device_keys property.

This could be exploited to spoof the sender of an encrypted to-device message, but only if the attacker colludes with (or is) the homeserver operator.

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