Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. matrix-sdk-crypto
  4. ›
  5. CVE-2025-48937

CVE-2025-48937: matrix-sdk-crypto vulnerable to sender of encrypted events being spoofed by homeserver administrator

June 10, 2025 (updated June 12, 2025)

matrix-sdk-crypto since version 0.8.0 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.

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

  • github.com/advisories/GHSA-x958-rvg6-956w
  • github.com/matrix-org/matrix-rust-sdk
  • github.com/matrix-org/matrix-rust-sdk/commit/13c1d2048286bbabf5e7bc6b015aafee98f04d55
  • github.com/matrix-org/matrix-rust-sdk/commit/56980745b4f27f7dc72ac296e6aa003e5d92a75b
  • github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-x958-rvg6-956w
  • nvd.nist.gov/vuln/detail/CVE-2025-48937
  • rustsec.org/advisories/RUSTSEC-2025-0041.html
  • spec.matrix.org/v1.14/client-server-api/

Code Behaviors & Features

Detect and mitigate CVE-2025-48937 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.8.0 before 0.11.1

Fixed versions

  • 0.11.1

Solution

Upgrade to version 0.11.1 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

cargo/matrix-sdk-crypto/CVE-2025-48937.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:33 +0000.