CVE-2025-59047
matrix-sdk-base has panic in the `RoomMember::normalized_power_level()` method
- State
- Published
- Severity
- 2.7 Low
- Published
- Sep 11, 2025
- Updated
- Sep 11, 2025
- Reserved
- Sep 8, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.7 Low | 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 | GitHub_M |
Weaknesses
- CWE-682 Incorrect Calculation
Affected Products
| Product | Versions |
|---|---|
matrix-rust-sdkmatrix-org |
|
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-qhj8-q5r6-8q6j
- https://github.com/matrix-org/matrix-rust-sdk/pull/5635
- https://github.com/matrix-org/matrix-rust-sdk/commit/ce3b67f801446387972ff120e907ca828a9f1207
- https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-base-0.14.1
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.