# CVE-2020-5234: Untrusted data can lead to DoS attack in MessagePack for C\# and Unity

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.58% (percentile 76, 2026-11-26)
- **CWE:** CWE-121
- **Aliases:** GHSA-7q36-4xx7-xcxf
- **Published:** 2020-01-31T17:50:14.000Z
- **Modified:** 2026-09-10T03:48:45.640Z

## Who should check

- Projects that depend on NuGet package MessagePack (\< 1.9.11)
- Projects that depend on NuGet package MessagePack.ImmutableCollection (\< 1.9.11)
- Projects that depend on NuGet package MessagePack.ReactiveProperty (\< 1.9.11)
- Projects that depend on NuGet package MessagePack.UnityShims (\< 1.9.11)
- Projects that depend on NuGet package MessagePack.Unity (\< 1.9.11)
- Anyone running neuecc MessagePack \< 1.9.11; \>= 2.0.0, \< 2.1.90
- Anyone running neuecc MessagePack.ImmutableCollection \< 1.9.11; \>= 2.0.0, \< 2.1.90
- Anyone running neuecc MessagePack.ReactiveProperty \< 1.9.11; \>= 2.0.0, \< 2.1.90

## Description

MessagePack for C\# and Unity before version 1.9.11 and 2.1.90 has a vulnerability where untrusted data can lead to DoS attack due to hash collisions and stack overflow. Review the linked GitHub Security Advisory for more information and remediation steps.

## Affected and fixed versions

- NuGet `MessagePack`: affected \< 1.9.11; fixed 1.9.11, 2.1.90 (osv)
- NuGet `MessagePack.ImmutableCollection`: affected \< 1.9.11; fixed 1.9.11, 2.1.90 (osv)
- NuGet `MessagePack.ReactiveProperty`: affected \< 1.9.11; fixed 1.9.11, 2.1.90 (osv)
- NuGet `MessagePack.UnityShims`: affected \< 1.9.11; fixed 1.9.11, 2.1.90 (osv)
- NuGet `MessagePack.Unity`: affected \< 1.9.11; fixed 1.9.11, 2.1.90 (osv)
- neuecc MessagePack: \< 1.9.11; \>= 2.0.0, \< 2.1.90 (cvelist)
- neuecc MessagePack.ImmutableCollection: \< 1.9.11; \>= 2.0.0, \< 2.1.90 (cvelist)
- neuecc MessagePack.ReactiveProperty: \< 1.9.11; \>= 2.0.0, \< 2.1.90 (cvelist)
- neuecc MessagePack.UnityShims: \< 1.9.11; \>= 2.0.0, \< 2.1.90 (cvelist)

## Mitigation

- Upgrade MessagePack to one of 1.9.11, 2.1.90 (or later in the same release line).
- Upgrade MessagePack.ImmutableCollection to one of 1.9.11, 2.1.90 (or later in the same release line).
- Upgrade MessagePack.ReactiveProperty to one of 1.9.11, 2.1.90 (or later in the same release line).
- Upgrade MessagePack.UnityShims to one of 1.9.11, 2.1.90 (or later in the same release line).
- Upgrade MessagePack.Unity to one of 1.9.11, 2.1.90 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-5234. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-5234.md
Affected: MessagePack < 1.9.11; MessagePack.ImmutableCollection < 1.9.11; MessagePack.ReactiveProperty < 1.9.11; MessagePack.UnityShims < 1.9.11; MessagePack.Unity < 1.9.11
Fixed in: 1.9.11, 2.1.90

Steps:
1. Search this machine and project for MessagePack (NuGet), MessagePack.ImmutableCollection (NuGet), MessagePack.ReactiveProperty (NuGet), MessagePack.UnityShims (NuGet), MessagePack.Unity (NuGet), neuecc MessagePack: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-5234 being exploited?

There is no confirmed exploitation: CVE-2020-5234 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-5234?

Medium: CVSS 4.8 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2020-5234?

MessagePack \< 1.9.11; MessagePack.ImmutableCollection \< 1.9.11; MessagePack.ReactiveProperty \< 1.9.11; MessagePack.UnityShims \< 1.9.11; MessagePack.Unity \< 1.9.11.

### Is there a fix for CVE-2020-5234?

Yes. Fixed in 1.9.11, 2.1.90. Upgrade MessagePack to one of 1.9.11, 2.1.90 (or later in the same release line). Upgrade MessagePack.ImmutableCollection to one of 1.9.11, 2.1.90 (or later in the same release line). Upgrade MessagePack.ReactiveProperty to one of 1.9.11, 2.1.90 (or later in the same release line). Upgrade MessagePack.UnityShims to one of 1.9.11, 2.1.90 (or later in the same release line). Upgrade MessagePack.Unity to one of 1.9.11, 2.1.90 (or later in the same release line).

### How do I check if I'm affected by CVE-2020-5234?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/neuecc/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxf>
- vendor: <https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxf>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-5234>
- patch: <https://github.com/neuecc/MessagePack-CSharp/commit/56fa86219d01d0a183babbbbcb34abbdea588a02>
- patch: <https://github.com/neuecc/MessagePack-CSharp/commit/f88684078698386df02204f13faeff098a61f007>
- other: <https://github.com/neuecc/MessagePack-CSharp/issues/810>
- other: <https://github.com/aspnet/Announcements/issues/405>
- other: <https://github.com/MessagePack-CSharp/MessagePack-CSharp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-5234>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7q36-4xx7-xcxf> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-5234> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-5234>
