{"id":"CVE-2026-48512","published":"2026-06-22T21:14:20Z","modified":"2026-06-25T15:16:38Z","title":"MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement","vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00405,"percentile":0.35633,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-cj9g-3mj2-g8vv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":7.13},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"messagepack-csharp","affectedVersions":[{"vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","versions":[">= 3.0, < 3.1.7","< 2.5.301"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T14:56:50.903334Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"MessagePack","vulnerableRanges":["<2.5.301",">=3.0, <3.1.7"],"patched":["2.5.301","3.1.7"],"from":["GHSA-cj9g-3mj2-g8vv"],"provenance":"source"}],"summary":{"text":"An attacker able to supply input to these JSON conversion paths can crash the process by exhausting its stack, for example with deeply nested or long runs of separator characters, producing an uncatchable StackOverflowException instead of a catchable exception; no authentication or user interaction is indicated, though the attack is noted as having high complexity and requiring a specific attack precondition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:03Z"},"euvd":{"id":"EUVD-2026-38384","exploited":false,"provenance":"source"}}