Back to CVE records
Medium 6.3Published Jun 22, 2026

CVE-2026-48513MessagePack-CSharp: DynamicUnionResolver generated deserializers miss depth enforcement

Updated under an hour ago ()

Does this affect you?

It affects MessagePack-CSharp and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.3 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-674
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jun 25, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
MessagePack-CSharp MessagePack-CSharp
messagepack_csharp:messagepack_csharp (from the name)
from 3.0, < 3.1.7; before 2.5.301
CNA record
messagepack messagepack
messagepack:messagepack
before 2.5.301; from 3.0.3 before 3.1.7
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.