Home / MessagePack-CSharp / MessagePack-CSharp / CVE-2026-48512
CVE-2026-48512: is it exploited, and which versions of MessagePack-CSharp are affected and fixed?
CVE-2026-48512 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, 15:09 UTC). Affected: MessagePack before 2.5.301 and MessagePack from 3.0 before 3.1.7 (GitHub advisory GHSA-cj9g-3mj2-g8vv). Fixed in 2.5.301 and 3.1.7 (GitHub advisory GHSA-cj9g-3mj2-g8vv). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-48512?
MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePack-CSharp's JSON conversion helpers contain multiple recursion paths that do not consistently enforce a depth limit. These paths are in the JSON conversion component rather than normal typed MessagePack deserialization. MessagePackSerializer.ConvertFromJson recursively processes nested JSON arrays and objects in FromJsonCore() without consulting MessagePackSecurity.MaximumObjectGraphDepth. TinyJsonReader.ReadNextToken() recursively consumes comma and colon separator characters, allowing even malformed JSON with long separator runs to consume one stack frame per character. MessagePackSerializer.ConvertToJson applies depth checks to arrays and maps, but the typeless extension branch for ext-100 recursively calls ToJsonCore() without applying MessagePackSecurity.DepthStep(ref reader). Each path can allow attacker-controlled input to exhaust the process stack and trigger an uncatchable StackOverflowException instead of failing with a catchable parse or serialization exception. 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:16 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-cj9g-3mj2-g8vv |
| NuGet | MessagePack | >= 3.0, < 3.1.7 | 3.1.7 | GHSA-cj9g-3mj2-g8vv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 25, 2026. Summary: MessagePack-CSharp: JSON conversion APIs can recurse without consistent 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-48512?
| 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-48512 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (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-cj9g-3mj2-g8vv x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 21, 2026
- Published
- June 22, 2026, 21:14 UTC
- CVE record updated
- June 25, 2026, 15:16 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, 15:09 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-48513 MessagePack-CSharp: uncontrolled recursion
Every CVE in MessagePack-CSharp
Questions about CVE-2026-48512
Is CVE-2026-48512 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 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-48512?
MessagePack before 2.5.301 and MessagePack from 3.0 before 3.1.7, per the GitHub advisory GHSA-cj9g-3mj2-g8vv. The tables above give every range the sources list.
Which version fixes CVE-2026-48512?
2.5.301 and 3.1.7, per the GitHub advisory GHSA-cj9g-3mj2-g8vv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-48512?
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-48512?
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.