CVE-2025-53549
published medium CVSS 4.0 · 5.2Matrix Rust SDK allows SQL injection in the EventCache implementation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | matrix-rust-sdk>= 0.11, < 0.13 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractalaarch64 | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractalppc64le | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractals390x | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractalx86_64 | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractal-langaarch64 | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractal-langppc64le | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | fractal-langs390x | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | fractal-langx86_64 | Advisory build | 12.beta+14-1.1 | OPENSUSE-SU-2025:15351-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | matrix-rust-sdk | >= 0.11, < 0.13 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
2Provider assertions
2GitHub_M · cna
Matrix Rust SDK allows SQL injection in the EventCache implementation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c6cf1c4bbdadcd0954edaf448c1b12787a1a0a5c0aedc9426c2a0d6183536077
- Ingested
- 23 Sep 2026, 08:52:40 UTC
- Source record
- Official CVE record