Nerdbank.MessagePack vulnerabilities

A fast and more user-friendly MessagePack serialization library for .NET and .NET Framework. This package is brought to you by one of the two major contributors to MessagePack-CSharp. As its natural successor, this library comes packed with features that its predecessor lacks, and has ongoing support. Premium support for trimming and Native AOT, secure deserialization of untrusted data, async serialization, streaming deserialization, skip serializing of default values, reference preservation, and support for reference cycles. Also features an automatic structural equality API.

Registry
NuGet
Latest
1.4.104
License
MIT

3 known advisories

The latest version, 1.4.104, is not affected by any of them. Projects on older versions may be.

Update to the latest version:dotnet add package Nerdbank.MessagePack --version 1.4.104

Is your project on an affected Nerdbank.MessagePack?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for Nerdbank.MessagePack

  • MediumGHSA-92vj-hp7m-gwcj29 May 2026

    Nerdbank.MessagePack has Inefficient CPU Computation

    Affected
    <1.2.4
    Fixed in
    1.2.4
  • MediumGHSA-qjvr-435c-5fjh29 May 2026

    Nerdbank.MessagePack has a memory amplification DoS in collection deserialization

    Affected
    <1.1.78
    Fixed in
    1.1.78
  • HighCVE-2026-44375GHSA-2cwq-pwfr-wcw36 May 2026

    Nerdbank.MessagePack: Attacker-controlled stackalloc in DateTime decoding causes process-terminating StackOverflowException

    Affected
    <1.1.62
    Fixed in
    1.1.62

Is your Nerdbank.MessagePack version vulnerable?

Which of your client projects still run an old Nerdbank.MessagePack?

NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other NuGet packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.