CVE-2026-48512
Last modified
CVE-2026-48512 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Messagepack | Messagepack | < 2.5.301 |
| Messagepack | Messagepack | >= 3.0.3, < 3.1.7 |
References
- https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-cj9g-3mj2-g8vvMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-48512?
How severe is CVE-2026-48512?
How do I fix CVE-2026-48512?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48506MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48507Snipe-IT is an IT asset/license management system. A vulnera…7.1
- CVE-2026-48509MessagePack for C# is a MessagePack serializer for C#. Prior…9.1
- CVE-2026-4851GRID::Machine versions through 0.127 for Perl allows arbitra…9.8
- CVE-2026-48510MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48511MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48513MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48514MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48515MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48516MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48517MessagePack for C# is a MessagePack serializer for C#. Prior…7.5
- CVE-2026-48518MultiJuicer is used to run separate Juice Shop instances on …4.3
Are you affected by CVE-2026-48512?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
