CVE-2026-92707Messagepack Csharp MessagePack-CSharp vulnerability
CVSS score
5.3
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.68%
0.68% chance of exploitation in the next 30 days, higher than 53.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running MessagePack-CSharp and compare its version with the affected versions.
Update to a fixed version
- Update MessagePack-CSharp to 2.5.303, 3.1.9 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected products
| Affected products | Versions |
|---|---|
| MessagePack-CSharp MessagePack-CSharp | < 2.5.303 · >= 3.0.0, < 3.1.9 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-92707 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-92707?
CVE-2026-92707 has a CVSS 3.1 base score of 5.3 (medium).
Which versions are affected?
Messagepack Csharp MessagePack-CSharp (< 2.5.303; >= 3.0.0, < 3.1.9)
Is there a patch for CVE-2026-92707?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/MessagePack-CSharp/MessagePack-CSharp/commit/7fd78bbf3476e03beae8b0f7a521125525a8a64a
- github.com/MessagePack-CSharp/MessagePack-CSharp/commit/95b63fca4f7097d3cac12d1a95286af4b4bbf02c
- github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.303
- github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.1.9
- github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhrr-8q5h-9q3h
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.