Rust advisories / matrix-sdk-base
Vulnerability LowRUSTSEC-2025-0065 · matrix-sdk-base
RUSTSEC-2025-0065: matrix-sdk-base: Panic in the `RoomMember::normalized_power_level()` method
Short answerA security vulnerability in the matrix-sdk-base crate: matrix-sdk-base: Panic in the `RoomMember::normalized_power_level()` method. GitHub rates it Low. Fixed in 0.14.1: update to a fixed version.
| Crate | matrix-sdk-base |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.14.1. |
| Fixed in | 0.14.1 |
| Severity | Low (GitHub rating) |
| Published | 2025-09-11 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2025-59047, GHSA-qhj8-q5r6-8q6j, RUSTSEC-2025-0000 |
| Affected functions | matrix_sdk_base::RoomMember::normalized_power_level |
What to do
- See which version you have:
cargo tree -i matrix-sdk-base(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p matrix-sdk-base. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplematrix-sdk-base = "0.14.1") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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.
References
- Package: crates.io/crates/matrix-sdk-base
- Advisory: rustsec.org/advisories/RUSTSEC-2025-0065.html
- Web: github.com/matrix-org/matrix-rust-sdk/pull/5635
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for matrix-sdk-base
Up next
Same cratematrix-sdk-base: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?