CVE-2025-59047 matrix-sdk-base has panic in the `RoomMember::normalized_power_level()` method
LowCVSS 2.7
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io matrix-sdk-base(crates.io) | < 0.14.1; >= 0.0.0-0, < 0.14.1 | 0.14.1 | Fixed |
| matrix-org matrix-rust-sdk | = < 0.14.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io matrix-sdk-base(crates.io) | < 0.14.1 | 0.14.1 |
| crates.io matrix-sdk-base(crates.io) | >= 0.0.0-0, < 0.14.1 | 0.14.1 |
| matrix-org matrix-rust-sdk | = < 0.14.1 | No fix listed |
References
- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-qhj8-q5r6-8q6j vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/matrix-org/matrix-rust-sdk/pull/5635 patch
- https://github.com/matrix-org/matrix-rust-sdk/commit/ce3b67f801446387972ff120e907ca828a9f1207 patch
- github.com product
- https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-base-0.14.1
- rustsec.org vendor-advisory
- crates.io product
- rustsec.org vendor-advisory
- github.com