GHSA-qhj8-q5r6-8q6j

Suggest an improvement
Source
https://github.com/advisories/GHSA-qhj8-q5r6-8q6j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-qhj8-q5r6-8q6j/GHSA-qhj8-q5r6-8q6j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qhj8-q5r6-8q6j
Aliases
Published
2025-09-11T21:23:55Z
Modified
2025-09-11T21:23:55Z
Severity
  • 2.7 (Low) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "severity": "LOW",
    "nvd_published_at": "2025-09-11T18:15:35Z",
    "cwe_ids": [
        "CWE-682"
    ],
    "github_reviewed_at": "2025-09-11T21:23:55Z"
}
References

Affected packages

crates.io / matrix-sdk-base

Package

Name
matrix-sdk-base
View open source insights on deps.dev
Purl
pkg:cargo/matrix-sdk-base

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.14.1