{"id":"RUSTSEC-2026-0589","aliases":[],"title":"Validating Matrix key IDs may panic","titleSource":"OSV","descriptionSource":"OSV","description":"Using `key_id::validate` may panic if the `algorithm` part of the key ID is\nlonger than 255 bytes and contains non-ASCII characters. The affected versions\nassumed that the length of the first part containing the encryption or signing\nalgorithm (the part before the colon) would fit into a `NonZeroU8`, but the\nlength of the first part wasn't validated.","severity":"unknown","score":null,"published":"2026-11-19T12:00:00.000Z","modified":"2026-11-22T10:00:02.291Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"ruma-identifiers-validation","sources":[{"name":"OSV · RUSTSEC-2026-0589","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0589"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.14.0"}],"type":"SEMVER"}],"versions":[],"fixed":["0.14.0"]}],"sourceAffected":[],"references":["https://crates.io/crates/ruma-identifiers-validation","https://rustsec.org/advisories/RUSTSEC-2026-0589.html","https://github.com/ruma/ruma/commit/b2cb9b43efbe082e4d9292560d4c9f0db5734038"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0589","modified":"2026-11-22T10:00:02.291471615Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0589"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-22T10:05:38.607Z","kev":{"status":"unavailable","checkedAt":"2026-11-29T00:05:30.113Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}