CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.23% in 30 days
higher than 15% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
MessagePack-CSharpMessagePack-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?

EcosystemPackageAffectedFixed inAdvisory
NuGetMessagePack< 2.5.3012.5.301GHSA-cj9g-3mj2-g8vv
NuGetMessagePack>= 3.0, < 3.1.73.1.7GHSA-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?

VendorProductVersionsType
messagepackmessagepackbefore 2.5.301application
messagepackmessagepackfrom 3.0.3 before 3.1.7application

NVD analysis (status Analyzed), last modified June 25, 2026, 16:16 UTC.

How severe is CVE-2026-48512?

ScoreVersionVectorSource
Medium 6.3CVSS 4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

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?

Where are the vendor advisories and references?

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?

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.