Advisory

GHSA-qhj8-q5r6-8q6j

Also known as: CVE-2025-59047, RUSTSEC-2025-0000, RUSTSEC-2025-0065

Summary

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

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-09-11 21:23 UTC
Modified
2025-09-11 21:23 UTC

Affected packages and fixes

matrix-sdk-base

crates.io · All systems

Affected

  • introduced 0, fixed 0.14.1 (semver)

Fixed versions

0.14.1

Fix

  • Fixed version 0.14.1
    cargo update -p matrix-sdk-base --precise 0.14.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences