CVE-2025-59047
JSON

2.7low

matrix-sdk-base has panic in the `RoomMember::normalized_power_level()` method

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.42% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qhj8-q5r6-8q6jRUSTSEC-2025-0000RUSTSEC-2025-0065

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.

Affected

Product or packageVersionsReported by
matrix-org matrix-rust-sdk< 0.14.1CVE List
matrix-sdk-base (crates.io)before 0.14.1, from 0.0.0-0 before 0.14.1GitHub Advisory Database, RustSec Advisory Database

All scores

GitHub_M2.7low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS: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

Classification

CWE-682

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

RustSec Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2025-59047 changed 2025-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-qhj8-q5r6-8q6j changed 2025-09-11CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0000 changed 2025-09-11CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2025-0065 changed 2026-10-12CC0-1.0
NVDCVE-2025-59047 changed 2026-06-17Public domain