matrix-org/matrix-rust-sdk · Security

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

GHSA ID
GHSA-qhj8-q5r6-8q6j
CVE ID
CVE-2025-59047
Severity
low
Published
Updated
CVSS v4
2.7 · 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

Description

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.

CWEs

References