Home / MessagePack-CSharp / MessagePack-CSharp / CVE-2026-48513
CVE-2026-48513: is it exploited, and which versions of MessagePack-CSharp are affected and fixed?
CVE-2026-48513 is an uncontrolled recursion vulnerability in MessagePack-CSharp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: MessagePack before 2.5.301 and MessagePack from 3.0 before 3.1.7 (GitHub advisory GHSA-wfr3-xj75-pfwh). Fixed in 2.5.301 and 3.1.7 (GitHub advisory GHSA-wfr3-xj75-pfwh). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-48513?
MessagePack-CSharp: DynamicUnionResolver generated deserializers miss depth enforcement
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.
From the CVE record by GitHub_M, last updated June 25, 2026, 15:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MessagePack-CSharp | MessagePack-CSharp | >= 3.0, < 3.1.7 < 2.5.301 |
As the CVE record by GitHub_M states it, last updated June 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | MessagePack | < 2.5.301 | 2.5.301 | GHSA-wfr3-xj75-pfwh |
| NuGet | MessagePack | >= 3.0, < 3.1.7 | 3.1.7 | GHSA-wfr3-xj75-pfwh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 25, 2026. Summary: MessagePack-CSharp: DynamicUnionResolver-generated deserializers miss depth enforcement.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| messagepack | messagepack | before 2.5.301 | application |
| messagepack | messagepack | from 3.0.3 before 3.1.7 | application |
NVD analysis (status Analyzed), last modified June 25, 2026, 16:16 UTC.
How severe is CVE-2026-48513?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-48513 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 23, 2026)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Where are the vendor advisories and references?
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-wfr3-xj75-pfwh x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 21, 2026
- Published
- June 22, 2026, 21:12 UTC
- CVE record updated
- June 25, 2026, 15:17 UTC by GitHub_M
- NVD
- Analyzed, last modified June 25, 2026, 16:16 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect MessagePack-CSharp?
- Oct 15, 2026CVE-2026-92707 MessagePack-CSharp: improperly Controlled Sequential Memory Allocation
- Jun 22, 2026CVE-2026-48109 MessagePack-CSharp: improper input validation
- Jun 22, 2026CVE-2026-48502 MessagePack-CSharp: out-of-bounds read
- Jun 22, 2026CVE-2026-48506 MessagePack-CSharp: uncontrolled recursion
- Jun 22, 2026CVE-2026-48509 MessagePack-CSharp: insecure default setting
- Jun 22, 2026CVE-2026-48510 MessagePack-CSharp: improper Handling of Highly Compressed Data (Data Amplification)
- Jun 22, 2026CVE-2026-48511 MessagePack-CSharp: denial of service through slow algorithm
- Jun 22, 2026CVE-2026-48512 MessagePack-CSharp: uncontrolled recursion
Every CVE in MessagePack-CSharp
Questions about CVE-2026-48513
Is CVE-2026-48513 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of MessagePack-CSharp are affected by CVE-2026-48513?
MessagePack before 2.5.301 and MessagePack from 3.0 before 3.1.7, per the GitHub advisory GHSA-wfr3-xj75-pfwh. The tables above give every range the sources list.
Which version fixes CVE-2026-48513?
2.5.301 and 3.1.7, per the GitHub advisory GHSA-wfr3-xj75-pfwh. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-48513?
Medium (6.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-48513?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.