IA Squad
SearchPT
dotnet · MessagePackHeads-up

MessagePack-CSharp UnsafeBlitFormatterBase Deserialization Vulnerability

UnsafeBlitFormatterBase<T>.Deserialize reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before valid

26 Jun 2026Read 1 minSeverity: schedule it

What changed

UnsafeBlitFormatterBase<T>.Deserialize reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before validating it against the extension header length or remaining payload bytes.

Who it affects

Applications using Unity blit resolvers (UnityBlitResolver or UnityBlitWithPrimitiveArrayResolver) to deserialize untrusted payloads, especially Unity multiplayer clients or servers using MessagePack-CSharp for networked values.

What to do today

Upgrade MessagePack.UnityClient to the patched version for your release line and upgrade companion MessagePack packages in the same dependency graph to the coordinated patched versions.

The trail
Collected Audited Written Published