NetSight
mittel5.3

CVE-2026-92707

MessagePack: Nested arrays can blow past buffer length limits

Auswirkung

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.303 and 3.1.9, deserializing attacker-controlled MessagePack data as System.Object through PrimitiveObjectFormatter can cause excessive memory allocation. The formatter allocates an object[] from each declared array length before the configured object-graph depth limit rejects the input, while nested array headers can reuse the same trailing unread bytes to satisfy per-header length validation. A comparatively small payload can therefore keep many large arrays alive at once. When an attacker can submit such data repeatedly, the allocations can cause severe managed-heap pressure, excessive garbage collection, process termination, or loss of service. Exposure requires an application to deserialize untrusted data through the affected formatter path and permit repeated attacker-controlled submissions, such as a reachable ASP.NET Core SignalR hub method with an object parameter and AddMessagePackProtocol() enabled. This issue is fixed in versions 2.5.303 and 3.1.9.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
nugetMessagePack< 2.5.3032.5.303

Betroffene Produkte · Microsoft

ProduktBetroffene VersionenBehoben durch
MessagePack 2.5.303
vor 2.5.303
Version 2.5.303
MessagePack 3.1.9
vor 3.1.9
Version 3.1.9
Microsoft Visual Studio 2022 version 17.14
vor 17.14.42
Version 17.14.42
Microsoft Visual Studio 2026 version 18.10
vor 18.10.4
Version 18.10.4
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 10.0 runtime installed on Linux
vor 10.0.13
Version 10.0.13
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 10.0 runtime installed on Mac OS
vor 10.0.13
Version 10.0.13
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 10.0 runtime installed on Windows
vor 10.0.13
Version 10.0.13
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 11.0 runtime installed on LinuxOnlinedienstVom Hersteller behoben, nichts zu tun
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 11.0 runtime installed on Mac OSOnlinedienstVom Hersteller behoben, nichts zu tun
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 11.0 runtime installed on WindowsOnlinedienstVom Hersteller behoben, nichts zu tun
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 8.0 runtime installed on Linux
vor 8.0.32
Version 8.0.32
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 8.0 runtime installed on Mac OS
vor 8.0.32
Version 8.0.32
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 8.0 runtime installed on Windows
vor 8.0.32
Version 8.0.32
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 9.0 runtime installed on Linux
vor 9.0.21
Version 9.0.21
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 9.0 runtime installed on Mac OS
vor 9.0.21
Version 9.0.21
Microsoft.AspNetCore.SignalR.Protocols.MessagePack on .NET 9.0 runtime installed on Windows
vor 9.0.21
Version 9.0.21

Schwachstellenklasse

Referenzen