Skip to main content
VulnerabilityPublished Updated

Ruma identifiers validation: Validating Matrix key IDs may panic

Affects ruma-identifiers-validationSource GCVE Database

0
Severity
Medium

Rated Medium by Threat Radar's AI analysis

Patch
Available – fixed in 0.14.0

Data as of 22 Nov 2026, 10:39 UTC

What to do

Upgrade ruma-identifiers-validation to 0.14.0.

Affected software

ProductAffectedFixed in
crates.ioruma-identifiers-validationpkg:cargo/ruma-identifiers-validationOther threatsAffected
  • >=0.0.0-0 <0.14.0
Fixed in
  • 0.14.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to ruma-identifiers-validation version 0.14.0 or later, where this issue has been fixed. No other mitigation is required as the patch addresses the root cause.

Description

A vulnerability in ruma-identifiers-validation allows the key ID validation function to panic when the algorithm part of the key ID exceeds 255 bytes and contains non-ASCII characters. This occurs because the length of the algorithm part was not properly validated before being used as a NonZeroU8 value. The issue affects versions prior to 0.14.0 and has been fixed in version 0.14.0.

References

Community reviews

Loading reviews…