# CVE-2026-48506: MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-06-22T21:17:35.305Z
- Modified: 2026-06-25T19:11:29.436Z
- Also known as: GHSA-vh6j-jc39-fggf
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePackReader.TrySkip() recursively descends into nested arrays and maps without incrementing the reader depth or calling the configured depth checks. This bypasses MessagePackSecurity.MaximumObjectGraphDepth, the library's documented protection against deeply nested object graphs. Many generated and dynamic formatters call reader.Skip() when they encounter unknown map keys, unknown array members, ignored fields, or data that should be skipped for forward compatibility. A deeply nested value in one of these skipped positions can therefore cause unbounded recursion and an uncatchable StackOverflowException. This vulnerability is fixed in 2.5.301 and 3.1.7.

(As written by CVE List.)

## Affected

- MessagePack-CSharp MessagePack-CSharp: >= 3.1.7, < 3.1.7; < 2.5.301
- MessagePack (NuGet): before 2.5.301; from 3.0 before 3.1.7
- messagepack messagepack: before 2.5.301; from 3.0.3 before 3.1.7

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-vh6j-jc39-fggf> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48506> (advisory)
- <https://github.com/MessagePack-CSharp/MessagePack-CSharp> (package)

## Sources

- CVE List: [CVE-2026-48506](https://www.cve.org/CVERecord?id=CVE-2026-48506), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-vh6j-jc39-fggf](https://github.com/advisories/GHSA-vh6j-jc39-fggf), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-48506](https://nvd.nist.gov/vuln/detail/CVE-2026-48506), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2026-48506 · Whole record: https://cve.day/CVE-2026-48506.json · Rebuilt by cve.day 2026-11-25T22:59:25.421Z
