{"id":"RUSTSEC-2026-0588","aliases":[],"title":"Validating Matrix Content URIs may panic","titleSource":"OSV","descriptionSource":"OSV","description":"Using `mxc_uri::validate` may panic if the server name part of the URI is larger\nthan 249 bytes. The affected versions assumed that the length of the first part\nof the URI (`mxc://{server_name}`) would fit into a `NonZeroU8`, but the length\nof the server name wasn't validated and the Matrix specification actually allows\nthe server name to have a maximum length of 261 bytes.","severity":"unknown","score":null,"published":"2026-11-19T12:00:00.000Z","modified":"2026-11-22T09:45:02.675Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"ruma-identifiers-validation","sources":[{"name":"OSV · RUSTSEC-2026-0588","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0588"}],"ranges":[{"events":[{"introduced":"0.2.3"},{"fixed":"0.13.0"}],"type":"SEMVER"}],"versions":[],"fixed":["0.13.0"]}],"sourceAffected":[],"references":["https://crates.io/crates/ruma-identifiers-validation","https://rustsec.org/advisories/RUSTSEC-2026-0588.html","https://github.com/ruma/ruma/commit/caf1ac05a9fd347158b60505ef8546a2ff18ae7c"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0588","modified":"2026-11-22T09:45:02.675001921Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0588"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-22T09:55:40.246Z","kev":{"status":"unavailable","checkedAt":"2026-11-29T01:20:30.653Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}