RUSTSEC-2026-0589
not scored yetValidating Matrix key IDs may panic
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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ruma-identifiers-validation | >= 0.0.0-0, < 0.14.0 | 0.14.0 |
References
- https://crates.io/crates/ruma-identifiers-validation · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0589.html · ADVISORY
- https://github.com/ruma/ruma/commit/b2cb9b43efbe082e4d9292560d4c9f0db5734038 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2026)