Loading advisory.
Loading advisory.
Nerdbank.MessagePack has Inefficient CPU Computation
Applications that call OptionalConverters.WithExpandoObjectConverter and deserialize untrusted data are open to a vulnerability by which an attacker can exploit a O(n²) algorithm to burn an inordinate amount of CPU effort by adding a great many properties to an ExpandoObject, whose Add method is…
Published 2026-05-29 20:02 UTC · Modified 2026-05-29 20:15 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| Nerdbank.MessagePack | NuGet | < 1.2.4 versions 0.1.705-alpha-gad428877b7, 0.1.734-alpha-g09268fd45c, 0.10.2-rc, 0.10.7-rc, 0.2.108-alpha, 0.2.2-alpha, 0.2.34-alpha, 0.2.52-alpha, 0.2.82-alpha, 0.3.120-beta, 0.3.151-beta, 0.3.161-beta, 0.3.2-alpha, 0.3.27-alpha, 0.3.38-beta, 0.4.5-beta, 0.5.1-beta, 0.5.37-beta, 0.5.57-beta, 0.5.72-beta and 29 more | 1.2.4 | dotnet add package Nerdbank.MessagePack --version 1.2.4 |
Applications that call OptionalConverters.WithExpandoObjectConverter and deserialize untrusted data are open to a vulnerability by which an attacker can exploit a O(n²) algorithm to burn an inordinate amount of CPU effort by adding a great many properties to an ExpandoObject, whose Add method is implemented as an O(n) algorithm.
Update to a patched version.
If a project's ExpandoObject data requires more than 128 properties, the default limit should be changed:
this.Serializer = this.Serializer with
{
StartingContext = this.Serializer.StartingContext with
{
Security = this.Serializer.StartingContext.Security with
{
ExpandoObjectMaxPropertyCount = 256, // Set this to whatever limit is required by your application
},
},
};Avoid the non-default WithExpandoObjectConverter extension method when deserializing untrusted data.
If deserializing untrusted data into an ExpandoObject is required, developers should write a custom converter for their project that limits the number of properties allowed before initializing the object.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.