CVE-2026-48514

High

Description

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, UnsafeBlitFormatterBase<T>.Deserialize reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before validating it against the extension header length or remaining payload bytes. The outer extension header is bounded by available input, but that bound is not used to constrain the inner byteLength before allocation. A very small payload can therefore request a very large T[] allocation. This vulnerability is fixed in 2.5.301 and 3.1.7.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMessagepack
PublishedJun 22, 2026
First seenJun 22, 2026

How to fix

Update
  • messagepack messagepack2.5.301, 3.1.7 or later
  • MessagePack2.5.301, 3.1.7 or later

Affected products

ProductAffected versionsFixed in
messagepack messagepackv < 2.5.301, 3.0.3 ≤ v < 3.1.72.5.301, 3.1.7
MessagePackNuGetv < 2.5.301, 3.0 ≤ v < 3.1.72.5.301, 3.1.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.