Skip to content

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

Description

@github-actions

Sender-binding gaps in to-device messages

Details
Package matrix-sdk-crypto
Version 0.16.0
URL GHSA-wfq4-36m3-9g42
Date 2026-06-03
Patched versions >=0.16.1
Unaffected versions <0.12.0

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.

See advisory page for additional details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions