Low severityOSV Advisory· Published Sep 11, 2025· Updated Apr 15, 2026
CVE-2025-59047
CVE-2025-59047
Description
matrix-sdk-base is the base component to build a Matrix client library. In matrix-sdk-base before 0.14.1, calling the RoomMember::normalized_power_level() method can cause a panic if a room member has a power level of Int::Min. The issue is fixed in matrix-sdk-base 0.14.1. The affected method isn’t used internally, so avoiding calling RoomMember::normalized_power_level() prevents the panic.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
matrix-sdk-basecrates.io | < 0.14.1 | 0.14.1 |
Affected products
1- Range: 0.1.0, 0.7.0, matrix-qrcode-0.2.0, …
Patches
25ef3ecac8c63chore: Allow the adler crate despite it being unmaintained
1 file changed · +1 −0
.deny.toml+1 −0 modified@@ -10,6 +10,7 @@ exclude = [ version = 2 ignore = [ { id = "RUSTSEC-2024-0436", reason = "Unmaintained paste crate, not critical." }, + { id = "RUSTSEC-2025-0056", reason = "Unmaintained adler crate, not a direct dependency" }, ] [licenses]
ce3b67f80144Update bindings/matrix-sdk-ffi/CHANGELOG.md
1 file changed · +1 −1
bindings/matrix-sdk-ffi/CHANGELOG.md+1 −1 modified@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. ### Breaking changes: -- The `normalized_power_level` field has been removed from the RoomMember +- The `normalized_power_level` field has been removed from the `RoomMember` struct. ([#5635](https://github.com/matrix-org/matrix-rust-sdk/pull/5635))
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-qhj8-q5r6-8q6jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59047ghsaADVISORY
- github.com/matrix-org/matrix-rust-sdk/commit/ce3b67f801446387972ff120e907ca828a9f1207nvdWEB
- github.com/matrix-org/matrix-rust-sdk/pull/5635nvdWEB
- github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-base-0.14.1nvdWEB
- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-qhj8-q5r6-8q6jnvdWEB
- rustsec.org/advisories/RUSTSEC-2025-0065.htmlghsaWEB
News mentions
0No linked articles in our index yet.