# MessagePack (NuGet)

Extremely Fast MessagePack(MsgPack) Serializer for C# (.NET Framework, .NET 6, Unity, Xamarin).

- Latest: 3.1.12 (2026-10-12)
- Licence: MIT
- Downloads: 382303604 all time
- Advisories on the latest version: 0

- CVE-2026-92707 MODERATE: MessagePack: Nested arrays can blow past buffer length limits Fixed in 2.5.303, 3.1.9.
- CVE-2026-48509 MODERATE: MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTTP request bodies Fixed in 2.5.301, 3.1.7.
- CVE-2026-48511 MODERATE: MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps Fixed in 2.5.301, 3.1.7.
- CVE-2026-48502 HIGH: MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows Fixed in 3.1.7.
- CVE-2026-48512 MODERATE: MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement Fixed in 2.5.301, 3.1.7.
- CVE-2026-48515 MODERATE: MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions Fixed in 2.5.301, 3.1.7.
- CVE-2026-48516 MODERATE: MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings Fixed in 2.5.301, 3.1.7.
- CVE-2026-48517 MODERATE: MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments Fixed in 2.5.301, 3.1.7.
- CVE-2026-48510 MODERATE: MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths Fixed in 2.5.301, 3.1.7.
- CVE-2026-48506 HIGH: MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth Fixed in 2.5.301, 3.1.7.
- CVE-2026-48514 MODERATE: MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length Fixed in 2.5.301, 3.1.7.
- CVE-2026-48513 MODERATE: MessagePack-CSharp: DynamicUnionResolver-generated deserializers miss depth enforcement Fixed in 2.5.301, 3.1.7.
- CVE-2026-48109 HIGH:  MessagePack's LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input Fixed in 2.5.301, 3.1.7.
- CVE-2024-48924 MODERATE: MessagePack allows untrusted data to lead to DoS attack due to hash collisions and stack overflow Fixed in 2.5.187, 3.0.214-rc.1.
- CVE-2020-5234 MODERATE: Untrusted data can lead to DoS attack due to hash collisions and stack overflow in MessagePack Fixed in 1.9.11, 2.1.90.

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
