CVE-2020-5234
Untrusted data can lead to DoS attack in MessagePack for C# and Unity
Also known as GHSA-7q36-4xx7-xcxf
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).
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
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 1.58% chance of exploitation in 30 days (percentile 76, 2026-11-26)
- CWE
- CWE-121
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet MessagePack | < 1.9.11 | 1.9.11, 2.1.90 | osv |
| NuGet MessagePack.ImmutableCollection | < 1.9.11 | 1.9.11, 2.1.90 | osv |
| NuGet MessagePack.ReactiveProperty | < 1.9.11 | 1.9.11, 2.1.90 | osv |
| NuGet MessagePack.UnityShims | < 1.9.11 | 1.9.11, 2.1.90 | osv |
| NuGet MessagePack.Unity | < 1.9.11 | 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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.