Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48513
Published:June 22, 2026
Updated:June 26, 2026
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, runtime-generated union deserializers emitted by DynamicUnionResolver do not call MessagePackSecurity.DepthStep(ref reader) and do not decrement reader.Depth around recursive deserialization and skip paths. This means union deserialization does not consistently participate in the maximum object graph depth enforcement that protects other recursive formatter paths. For unknown union keys, the emitted deserializer calls reader.Skip() on attacker-controlled data without an enclosing depth step. This vulnerability is fixed in 2.5.301 and 3.1.7.
Affected Packages
MessagePack (DOT_NET):
Affected version(s) >=0.0.0.0 <2.5.301
Fix Suggestion:
Update to version 2.5.301
MessagePack (DOT_NET):
Affected version(s) >=3.0.3.6 <3.1.7
Fix Suggestion:
Update to version 3.1.7
messagepack (NUGET):
Affected version(s) >=3.0.3 <3.1.7
Fix Suggestion:
Update to version 3.1.7
messagepack (NUGET):
Affected version(s) >=0.1.0-beta <2.5.301
Fix Suggestion:
Update to version 2.5.301
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.23