Install
MessagePack
Extremely Fast MessagePack(MsgPack) Serializer for C# (.NET Framework, .NET 6, Unity, Xamarin).
3.1.12Latest, 12 Oct 2026
382MDownloads, all time
0Advisories on the latest
15Advisories, all versions
MITLicence
6.8KStars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | MessagePack: Nested arrays can blow past buffer length limits CVE-2026-92707 | Fixed in 2.5.303, 3.1.9 | 15 Oct 2026 |
| Moderate | MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTTP request bodies CVE-2026-48509 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps CVE-2026-48511 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| High | MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows CVE-2026-48502 | Fixed in 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement CVE-2026-48512 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions CVE-2026-48515 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings CVE-2026-48516 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments CVE-2026-48517 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths CVE-2026-48510 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| High | MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth CVE-2026-48506 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length CVE-2026-48514 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| Moderate | MessagePack-CSharp: DynamicUnionResolver-generated deserializers miss depth enforcement CVE-2026-48513 | Fixed in 2.5.301, 3.1.7 | 25 Jun 2026 |
| High | MessagePack's LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input CVE-2026-48109 | Fixed in 2.5.301, 3.1.7 | 11 Jun 2026 |
| Moderate | MessagePack allows untrusted data to lead to DoS attack due to hash collisions and stack overflow CVE-2024-48924 | Fixed in 2.5.187, 3.0.214-rc.1 | 17 Oct 2024 |
| Moderate | Untrusted data can lead to DoS attack due to hash collisions and stack overflow in MessagePack CVE-2020-5234 | Fixed in 1.9.11, 2.1.90 | 31 Jan 2020 |
In the news
- Obfuscating MessagePack contracts dev.to, 25 Nov 2026
- Day 22: The Division of Labor Between XML, JSON and MessagePack dev.to, 15 Nov 2026
- MessagePack give different serializations in different versions of .NET stackoverflow.com, 12 Feb 2025
On Hacker News
- MessagePack: like JSON, but fast and small 326 points, 379 comments, 10 Mar 2020
- You're Using JSON, Why not MessagePack? 136 points, 65 comments, 21 May 2011
- Protocol Buffers, Avro, Thrift & MessagePack 135 points, 24 comments, 1 Aug 2011
- My thoughts on MessagePack 131 points, 26 comments, 11 Jun 2012
Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.