CVE-2026-92707
CVE-2026-92707 · MessagePack: Nested arrays can blow past buffer length limits
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
messagepack-csharp
- Versions
- < 2.5.303: Affected
- >= 3.0.0, < 3.1.9: Affected
No fix published
dotnet6 Ubuntu:22.04:LTS
- Versions
- 6.0.108-0ubuntu1~22.04.1
- 6.0.109-0ubuntu1~22.04.1
- 6.0.110-0ubuntu1~22.04.1
- 6.0.111-0ubuntu1~22.04.1
- 6.0.113-0ubuntu1~22.04.1
- 6.0.116-0ubuntu1~22.04.1
- 6.0.118-0ubuntu1~22.04.1
- 6.0.119-0ubuntu1~22.04.1
- 6.0.120-0ubuntu1~22.04.1
- 6.0.121-0ubuntu1~22.04.1
- 6.0.122-0ubuntu1~22.04.1
- 6.0.123-0ubuntu1~22.04.1
- 6.0.124-0ubuntu1~22.04.1
- 6.0.125-0ubuntu1~22.04.1
- 6.0.126-0ubuntu1~22.04.1
- 6.0.127-0ubuntu1~22.04.1
- 6.0.128-0ubuntu1~22.04.2
- 6.0.132-0ubuntu1~22.04.1
- 6.0.133-0ubuntu1~22.04.1
- 6.0.135-0ubuntu1~22.04.1
- 6.0.136-0ubuntu1~22.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
dotnet7 Ubuntu:22.04:LTS
- Versions
- 7.0.105-0ubuntu1~22.04.1
- 7.0.107-0ubuntu1~22.04.1
- 7.0.108-0ubuntu1~22.04.1
- 7.0.109-0ubuntu1~22.04.1
- 7.0.110-0ubuntu1~22.04.1
- 7.0.111-0ubuntu1~22.04.1
- 7.0.112-0ubuntu1~22.04.1
- 7.0.113-0ubuntu1~22.04.1
- 7.0.114-0ubuntu1~22.04.1
- 7.0.115-0ubuntu1~22.04.1
- 7.0.116-0ubuntu1~22.04.1
- 7.0.117-0ubuntu1~22.04.1
- 7.0.117-0ubuntu1~22.04.2
- 7.0.119-0ubuntu1~22.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
dotnet8 Ubuntu:22.04:LTS
- Versions
- 8.0.102-8.0.2-0ubuntu1~22.04.1
- 8.0.103-8.0.3-0ubuntu1~22.04.1
- 8.0.103-8.0.3-0ubuntu1~22.04.2
- 8.0.105-8.0.5-0ubuntu1~22.04.1
- 8.0.107-8.0.7-0ubuntu1~22.04.1
- 8.0.108-8.0.8-0ubuntu1~22.04.1
- 8.0.110-8.0.10-0ubuntu1~22.04.1
- 8.0.111-8.0.11-0ubuntu1~22.04.1
- 8.0.112-8.0.12-0ubuntu1~22.04.1
- 8.0.114-8.0.14-0ubuntu1~22.04.1
- 8.0.115-8.0.15-0ubuntu1~22.04.1
- 8.0.116-8.0.16-0ubuntu1~22.04.1
- 8.0.117-8.0.17-0ubuntu1~22.04.1
- 8.0.118-8.0.18-0ubuntu1~22.04.1
- 8.0.119-8.0.19-0ubuntu1~22.04.1
- 8.0.120-8.0.20-0ubuntu1~22.04.1
- 8.0.121-8.0.21-0ubuntu1~22.04.1
- 8.0.122-8.0.22-0ubuntu1~22.04.1
- 8.0.123-8.0.23-0ubuntu1~22.04.1
- 8.0.124-8.0.24-0ubuntu1~22.04.1
- 8.0.125-8.0.25-0ubuntu1~22.04.1
- 8.0.126-8.0.26-0ubuntu1~22.04.1
- 8.0.127-8.0.27-0ubuntu1~22.04.1
- 8.0.128-8.0.28-0ubuntu1~22.04.1
- 8.0.129-8.0.29-0ubuntu1~22.04.1
- 8.0.130-8.0.30-0ubuntu1~22.04.1
- 8.0.131-8.0.31-0ubuntu1~22.04.1
- Affected ranges
- ECOSYSTEM: < 8.0.132-8.0.32-0ubuntu1~22.04.1
Update to 8.0.132-8.0.32-0ubuntu1~22.04.1
dotnet10 Ubuntu:24.04:LTS
- Versions
- 10.0.100-10.0.0-0ubuntu1~24.04.1
- 10.0.101-10.0.1-0ubuntu1~24.04.2
- 10.0.103-10.0.3-0ubuntu1~24.04.1
- 10.0.104-10.0.4-0ubuntu1~24.04.1
- 10.0.105-10.0.5-0ubuntu1~24.04.1
- 10.0.106-10.0.6-0ubuntu1~24.04.1
- 10.0.107-10.0.7-0ubuntu1~24.04.1
- 10.0.108-10.0.8-0ubuntu1~24.04.1
- 10.0.109-10.0.9-0ubuntu1~24.04.1
- 10.0.110-10.0.10-0ubuntu1~24.04.1
- 10.0.111-10.0.11-0ubuntu1~24.04.1
- 10.0.112-10.0.12-0ubuntu1~24.04.1
- Affected ranges
- ECOSYSTEM: < 10.0.113-10.0.13-0ubuntu1~24.04.1
Update to 10.0.113-10.0.13-0ubuntu1~24.04.1
dotnet8 Ubuntu:24.04:LTS
- Versions
- 8.0.100-8.0.0~rc1-0ubuntu1
- 8.0.100-8.0.0~rc2-0ubuntu1
- 8.0.100-8.0.0~rc2-0ubuntu2
- 8.0.100-8.0.0-0ubuntu1
- 8.0.100-8.0.0-0ubuntu2
- 8.0.101-8.0.1-0ubuntu1
- 8.0.101-8.0.1-0ubuntu2
- 8.0.102-8.0.2-0ubuntu1
- 8.0.103-8.0.3-0ubuntu2
- 8.0.103-8.0.3-0ubuntu3
- 8.0.104-8.0.4-0ubuntu1
- 8.0.105-8.0.5-0ubuntu1~24.04.1
- 8.0.107-8.0.7-0ubuntu1~24.04.1
- 8.0.108-8.0.8-0ubuntu1~24.04.1
- 8.0.108-8.0.8-0ubuntu1~24.04.2
- 8.0.110-8.0.10-0ubuntu1~24.04.1
- 8.0.111-8.0.11-0ubuntu1~24.04.1
- 8.0.112-8.0.12-0ubuntu1~24.04.1
- 8.0.114-8.0.14-0ubuntu1~24.04.1
- 8.0.115-8.0.15-0ubuntu1~24.04.1
- 8.0.116-8.0.16-0ubuntu1~24.04.1
- 8.0.117-8.0.17-0ubuntu1~24.04.1
- 8.0.118-8.0.18-0ubuntu1~24.04.1
- 8.0.119-8.0.19-0ubuntu1~24.04.1
- 8.0.120-8.0.20-0ubuntu1~24.04.1
- 8.0.121-8.0.21-0ubuntu1~24.04.1
- 8.0.122-8.0.22-0ubuntu1~24.04.1
- 8.0.123-8.0.23-0ubuntu1~24.04.1
- 8.0.124-8.0.24-0ubuntu1~24.04.1
- 8.0.125-8.0.25-0ubuntu1~24.04.1
- 8.0.126-8.0.26-0ubuntu1~24.04.1
- 8.0.127-8.0.27-0ubuntu1~24.04.1
- 8.0.128-8.0.28-0ubuntu1~24.04.1
- 8.0.129-8.0.29-0ubuntu1~24.04.1
- 8.0.130-8.0.30-0ubuntu1~24.04.1
- 8.0.131-8.0.31-0ubuntu1~24.04.1
- Affected ranges
- ECOSYSTEM: < 8.0.132-8.0.32-0ubuntu1~24.04.1
Update to 8.0.132-8.0.32-0ubuntu1~24.04.1
dotnet10 Ubuntu:26.10
- Versions
- 10.0.105-10.0.5-0ubuntu1
- 10.0.107-10.0.7-0ubuntu1~26.04.1
- 10.0.108-10.0.8-0ubuntu1
- 10.0.109-10.0.9-0ubuntu1
- 10.0.110-10.0.10-0ubuntu3
- 10.0.111-10.0.11-0ubuntu1
- 10.0.112-10.0.12-0ubuntu1
- 10.0.112-10.0.12-0ubuntu2
- Affected ranges
- ECOSYSTEM: < 10.0.113-10.0.13-0ubuntu1~26.10.1
Update to 10.0.113-10.0.13-0ubuntu1~26.10.1
dotnet11 Ubuntu:26.10
- Versions
- 11.0.100-11.0.0~rc1-0ubuntu1
- Affected ranges
- ECOSYSTEM: < 11.0.100-11.0.0~rc2-0ubuntu1~26.10.1
Update to 11.0.100-11.0.0~rc2-0ubuntu1~26.10.1
dotnet10 Ubuntu:26.04:LTS
- Versions
- 10.0.100-10.0.0~rc1-0ubuntu1
- 10.0.100-10.0.0~rc2-0ubuntu1
- 10.0.100-10.0.0-0ubuntu1
- 10.0.100-10.0.0-0ubuntu2
- 10.0.101-10.0.1-0ubuntu1
- 10.0.101-10.0.1-0ubuntu2
- 10.0.101-10.0.1-0ubuntu3
- 10.0.102-10.0.2-0ubuntu1
- 10.0.103-10.0.3-0ubuntu1
- 10.0.104-10.0.4-0ubuntu1
- 10.0.105-10.0.5-0ubuntu1
- 10.0.107-10.0.7-0ubuntu1~26.04.1
- 10.0.108-10.0.8-0ubuntu1~26.04.1
- 10.0.109-10.0.9-0ubuntu1~26.04.1
- 10.0.110-10.0.10-0ubuntu1~26.04.1
- 10.0.111-10.0.11-0ubuntu1~26.04.1
- 10.0.112-10.0.12-0ubuntu1~26.04.1
- Affected ranges
- ECOSYSTEM: < 10.0.113-10.0.13-0ubuntu1~26.04.1
Update to 10.0.113-10.0.13-0ubuntu1~26.04.1
Original sources
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhrr-8q5h-9q3h
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/7fd78bbf3476e03beae8b0f7a521125525a8a64a
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/commit/95b63fca4f7097d3cac12d1a95286af4b4bbf02c
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.303
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v3.1.9
- https://nvd.nist.gov/vuln/detail/CVE-2026-92707