GitHub Advisoryadvisory · crates.io
GHSA-qhj8-q5r6-8q6j matrix-sdk-base: Panic in the `RoomMember::normalized_power_level()` method
LOW
Official page ↗
- Aliases
- CVE-2025-59047
- Ecosystem
- crates.io
- Packages
- matrix-sdk-base
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
- Weaknesses
- CWE-682
- Reviewed
- 2025-09-11
Affected packages
• crates.io matrix-sdk-base: < 0.14.1 → fixed in 0.14.1
Description
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`.
Patches
The issue is fixed in matrix-sdk-base 0.14.1.
Workarounds
The affected method isn’t used internally, so avoiding calling `RoomMember::normalized_power_level()` prevents the panic.
Related
Alias · CVE (1)
- CVE-2025-59047 matrix-sdk-base is the base component to build a Matrix client library. vulnerability
Weakness · CWE (1)
- CWE-682 Incorrect Calculation weakness
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-qhj8-q5r6-8q6j web
- https://nvd.nist.gov/vuln/detail/CVE-2025-59047 advisory
- https://github.com/matrix-org/matrix-rust-sdk/pull/5635 web
- https://github.com/matrix-org/matrix-rust-sdk/commit/ce3b67f801446387972ff120e907ca828a9f1207 web
- https://github.com/matrix-org/matrix-rust-sdk package
- https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-base-0.14.1 web
- https://rustsec.org/advisories/RUSTSEC-2025-0065.html web