5.2

CVE-2025-53549: Matrix Rust SDK allows SQL injection in the EventCache implementation

Deferred
AliasesopenSUSE-SU-2025:15351-1GHSA-275g-g844-73jhRUSTSEC-2025-0043
Published 10-07-2025Last modified 10-07-2025

Vulnerability summary

CVE-2025-53549 is a medium (CVSS 5.2) vulnerability in matrix-org matrix-rust-sdk. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.2/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.32%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 10-07-2025
    PublishedVulnerability first disclosed.
  2. 10-07-2025
    Last modifiedVulnerability information updated.

Description

The Matrix Rust SDK is a collection of libraries that make it easier to build Matrix clients in Rust. An SQL injection vulnerability in the EventCache::find_event_with_relations method of matrix-sdk 0.11 and 0.12 allows malicious room members to execute arbitrary SQL commands in Matrix clients that directly pass relation types provided by those room members into this method, when used with the default sqlite-based store backend. Exploitation is unlikely, as no known clients currently use the API in this manner. This vulnerability is fixed in 0.13.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.31% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Crates.Io2 products
  • matrix-sdk≥ 0.11.0, < 0.13.0
  • matrix-sdk-sqlite≥ 0.11.0, < 0.13.0
Matrix-org1 product
Opensuse1 product
  • fractal&distro=openSUSE Tumbleweed< 12.beta+14-1.1

3 vendors · 4 products

References

8 links