{"id":"RUSTSEC-2026-0588","aliases":[],"title":"Validating Matrix Content URIs may panic","originalDescription":"Using `mxc_uri::validate` may panic if the server name part of the URI is larger than 249 bytes. The affected versions assumed that the length of the first part of the URI (`mxc://{server_name}`) would fit into a `NonZeroU8`, but the length of the server name wasn't validated and the Matrix specification actually allows the server name to have a maximum length of 261 bytes.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"crates.io","name":"ruma-identifiers-validation","range":">=0.2.3, <0.13.0","fixed":"0.13.0"}],"references":[{"url":"https://crates.io/crates/ruma-identifiers-validation","type":"package"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0588.html","type":"advisory"},{"url":"https://github.com/ruma/ruma/commit/caf1ac05a9fd347158b60505ef8546a2ff18ae7c","type":"web"}],"sources":[{"name":"osv","at":"2026-11-22T12:58:44.025Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0588","license":"CC-BY 4.0","firstSeenAt":"2026-11-22T10:13:36.103Z"}],"firstSeenAt":"2026-11-22T10:13:36.103Z","publishedAt":"2026-11-19T12:00:00.000Z","modifiedAt":"2026-11-22T09:45:02.675Z"}