# CVE-2026-48502: MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-23
- Aliases: GHSA-382j-8mxh-c7x2
- Record: https://cvemate.com/vulnerability/CVE-2026-48502 · JSON: https://cvemate.com/vulnerability/CVE-2026-48502/json

## Description

```text
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePackReader.ReadDateTime() can allocate stack memory based on an attacker-controlled MessagePack extension length. In the slow path for timestamp extension parsing, the computed tokenSize includes the extension body length from the wire and is used in a stackalloc operation before the extension length is validated as one of the valid timestamp sizes. A very small payload can claim a large timestamp extension body and cause a stack allocation large enough to trigger an uncatchable StackOverflowException, terminating the host process. This vulnerability is fixed in 2.5.301 and 3.1.7.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.255%, percentile 18.224%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- messagepack-csharp messagepack-csharp: ≥ 3.1.7, \< 3.1.7 \| \< 2.5.301
- messagepack messagepack: \< 2.5.301 \| ≥ 3.0.3, \< 3.1.7
- NuGet MessagePack (NuGet): ≥ 3.0, \< 3.1.7

## References

- <https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-382j-8mxh-c7x2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48502>
- <https://github.com/MessagePack-CSharp/MessagePack-CSharp>

---

Data as of 2026-12-05T04:55:36.613Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
