CVE-2026-92707
MEDIUM 5.3CVSS 3.1MessagePack: Nested arrays can blow past buffer length limits
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.
- Published
- 15 Oct 2026
- Last modified
- 16 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1325
- Also known as
- GHSA-qhrr-8q5h-9q3h
- Sources
- NVDJSONOSV GHSA-qhrr-8q5h-9q3hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | MessagePack | < 2.5.303 | 2.5.303 |
| OSV | NuGet | MessagePack | >= 3.0.0, < 3.1.9 | 3.1.9 |
References
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/7fd78bbf3476e03beae8b0f7a521125525a8a64a · WEB
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/95b63fca4f7097d3cac12d1a95286af4b4bbf02c · WEB
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.303 · WEB
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.1.9 · WEB
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhrr-8q5h-9q3h · WEB
- https://github.com/MessagePack-CSharp/MessagePack-CSharp · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Oct 2026)