mediumCVSS 5.3Vulnerability

GHSA-92vj-hp7m-gwcj

### 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.

Properties

ghsa_id
GHSA-92vj-hp7m-gwcj
severity
medium
summary
Nerdbank.MessagePack has Inefficient CPU Computation
cvss_score
5.3
cve_id
GHSA-92vj-hp7m-gwcj
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
is_ghsa_only
true
ghsa_published
2026-05-29T20:02:59Z
source_url
https://github.com/advisories/GHSA-92vj-hp7m-gwcj
ghsa_updated
2026-05-29T20:02:59Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]nuget/Nerdbank.MessagePack

AFFECTS (1)

[Software]nuget/Nerdbank.MessagePack

HAS_WEAKNESS (1)

[Weakness]Inefficient CPU Computation

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-92vj-hp7m-gwcj (CVSS 5.3) — Ninja Signal Threat Intelligence | Ninja Signal