RUSTSEC-2026-0589

Source
https://rustsec.org/advisories/RUSTSEC-2026-0589
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0589.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0589
Published
2026-11-19T12:00:00Z
Modified
2026-11-22T10:00:02Z
Summary
Validating Matrix key IDs may panic
Details

Using key_id::validate may panic if the algorithm part of the key ID is longer than 255 bytes and contains non-ASCII characters. The affected versions assumed that the length of the first part containing the encryption or signing algorithm (the part before the colon) would fit into a NonZeroU8, but the length of the first part wasn't validated.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / ruma-identifiers-validation

Package

Name
ruma-identifiers-validation
View open source insights on deps.dev
Purl
pkg:cargo/ruma-identifiers-validation

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.14.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "functions": [
            "ruma_identifiers_validation::key_id::validate"
        ],
        "os": []
    }
}

Database specific

categories
[
    "denial-of-service"
]
cvss
null
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0589.json"