Vulnerability
CVE-2026-92707
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.
49 advisories report this vulnerability, across 9 ecosystems.
Advisories in Oracle Linux
-
ELSA-2026-86168
ELSA-2026-86168: .NET 8.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86169
ELSA-2026-86169: .NET 8.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86170
ELSA-2026-86170: .NET 9.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86171
ELSA-2026-86171: .NET 9.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86172
ELSA-2026-86172: .NET 9.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86192
ELSA-2026-86192: .NET 10.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86193
ELSA-2026-86193: .NET 10.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86195
ELSA-2026-86195: .NET 10.0 security, bug fix, and enhancement update (CRITICAL)
-
ELSA-2026-86594
ELSA-2026-86594: .NET 8.0 security, bug fix, and enhancement update (CRITICAL)
References
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/7fd78bbf3476e03beae8b0f7a521125525a8a64a
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/95b63fca4f7097d3cac12d1a95286af4b4bbf02c
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.303
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.1.9
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhrr-8q5h-9q3h