Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. matrix-sdk-base
  4. ›
  5. CVE-2025-59047

CVE-2025-59047: matrix-sdk-base: Panic in the `RoomMember::normalized_power_level()` method

September 11, 2025

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

  • github.com/advisories/GHSA-qhj8-q5r6-8q6j
  • github.com/matrix-org/matrix-rust-sdk
  • github.com/matrix-org/matrix-rust-sdk/commit/ce3b67f801446387972ff120e907ca828a9f1207
  • github.com/matrix-org/matrix-rust-sdk/pull/5635
  • github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-base-0.14.1
  • github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-qhj8-q5r6-8q6j
  • nvd.nist.gov/vuln/detail/CVE-2025-59047
  • rustsec.org/advisories/RUSTSEC-2025-0065.html

Code Behaviors & Features

Detect and mitigate CVE-2025-59047 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.14.1

Fixed versions

  • 0.14.1

Solution

Upgrade to version 0.14.1 or above.

Weakness

  • CWE-682: Incorrect Calculation

Source file

cargo/matrix-sdk-base/CVE-2025-59047.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 04 Nov 2025 00:19:22 +0000.