Read the docs
TI-2026-66815 Aliases GHSA-92vj-hp7m-gwcj

Nerdbank.MessagePack has Inefficient CPU Computation

Priority LOW 38CWE-1176Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact 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. ### Patches Update to a patched version. If a project's `ExpandoObject` data requires more than 128 properties, the default limit should be changed: ```cs 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 }, }, }; ``` ### Workarounds 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.

Why it matters now

Fix Fixed Nerdbank.MessagePack (NuGet): 1.2.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Nerdbank.MessagePack (NuGet)before 1.2.41.2.4Patch availableGHSA-92vj-hp7m-gwcj
  • Nerdbank.MessagePack (NuGet) Vendor— Affected before 1.2.4 Fixed in 1.2.4 Patch available GHSA-92vj-hp7m-gwcj

Remediation

  • Fix · GHSA-92vj-hp7m-gwcj Nerdbank.MessagePack (NuGet) Fixed in 1.2.4 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-92vj-hp7m-gwcj

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences