MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.303 and 3.1.9, deserializing attacker-controlled MessagePack data as System.Object through PrimitiveObjectFormatter can cause excessive memory allocation. The formatter allocates an object[] from each declared array length before the configured object-graph depth limit rejects the input, while nested array headers can reuse the same trailing unread bytes to satisfy per-header length validation. A comparatively small payload can therefore keep many large arrays alive at once. When an attacker can submit such data repeatedly, the allocations can cause severe managed-heap pressure, excessive garbage collection, process termination, or loss of service. Exposure requires an application to deserialize untrusted data through the affected formatter path and permit repeated attacker-controlled submissions, such as a reachable ASP.NET Core SignalR hub method with an object parameter and AddMessagePackProtocol() enabled. This issue is fixed in versions 2.5.303 and 3.1.9.
Exploitability Profile
Exploited in the wild
4 monitored reports
Not Observed
No public PoC links extracted
Confirmed
4 patch mentions · 8 advisories
Stable
Peak 4 on Oct 15, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Apply vendor patch or virtual patch immediately, verify exposed assets, and run SOC compromise hunts.
Triage Priority
CVSS v3.1
Source: GitHub
5mentions
Across 2 tracked days
| Authority | Version | Score | Vector String |
|---|---|---|---|
CNAGitHub | v3.1 | 5.3MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
5 total mentions across 2 observed days · Peak 4 on Oct 15, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.