User Impersonation Affecting matrix-sdk-crypto package, versions >=0.12.0 <0.16.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-MATRIXSDKCRYPTO-17308784
  • published11 Jun 2026
  • disclosed3 Jun 2026
  • creditUnknown

Introduced: 3 Jun 2026

NewCVE-2026-45056  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade matrix-sdk-crypto to version 0.16.1 or higher.

Overview

Affected versions of this package are vulnerable to User Impersonation during the decryption of Olm-encrypted to-device messages containing the sender_device_keys property. An attacker can impersonate another user by sending crafted encrypted messages, but only if the attacker colludes with (or is) the homeserver operator.

CVSS Base Scores

version 4.0
version 3.1