Intel

AIKIDO-2026-637095

openmls is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-rrmv-c79f-cf5r Published 6 days ago

65

Medium Risk

This Affects:

RUSTopenmls
0.0.1 - 0.8.1
Fixed in 0.9.0
Are you affected? Scan for Free

TL;DR

Several hand-written DeserializeBytes implementations compute the unconsumed input remainder by slicing the input at the re-serialized length of the parsed value. When crafted wire bytes make the re-serialized length exceed the number of bytes actually consumed, the slice index moves out of range and the process panics. The affected types, including MlsMessageIn, PublicMessageIn, ProposalIn, Extensions, and AppDataDictionary, are decoded from untrusted input before message authentication, so the crash is remotely triggerable. The fix derives the remainder from the bytes actually consumed instead of the re-serialized length.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application deserializes untrusted MLS wire-format messages on openmls 0.8.1 or earlier.

Background info

openmls is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.8.1.

How to fix this

Upgrade the openmls library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform