Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 86%

MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length (CVE-2026-48514)

0
Medium
Published: 06/25/2026 (06/25/2026, 21:25:21 UTC)
Source: GCVE Database
Product: MessagePack

Description

MessagePack-CSharp's UnsafeBlitFormatterBase<T>.Deserialize method in Unity blit resolvers improperly allocates memory based on an attacker-controlled byte length without validating it against the actual payload size. This can lead to excessive memory allocation and potential out-of-memory exceptions or process termination on memory-constrained platforms when deserializing untrusted data. The vulnerability affects the MessagePack.UnityClient package and specific resolvers prior to patched versions. The issue is mitigated by upgrading to patched versions or avoiding use of vulnerable resolvers with untrusted input.

CVSS v4.0

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

NuGetghsa
MessagePack
Affected versions
<2.5.301
NuGetghsa
MessagePack
Affected versions
>=3.0 <3.1.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:53:12 UTC

Technical Analysis

The vulnerability in MessagePack-CSharp affects the UnsafeBlitFormatterBase<T>.Deserialize method used by Unity blit resolvers such as UnityBlitResolver and UnityBlitWithPrimitiveArrayResolver. It occurs because the method reads a byteLength value from an extension payload and allocates an array of that size before validating that the byteLength is within the bounds of the actual extension payload. This allows an attacker to specify a large byteLength in a small payload, causing excessive memory allocation. The vulnerability impacts applications that deserialize untrusted payloads using these resolvers, particularly Unity multiplayer clients or servers using MessagePack-CSharp for networked data like vectors or arrays. Fixes are planned to validate byteLength before allocation, rejecting invalid or oversized lengths. Until patched versions are released, users are advised to avoid using vulnerable resolvers on untrusted data or to apply explicit validation and size limits before deserialization.

Potential Impact

An attacker can cause an application using vulnerable Unity blit resolvers to allocate large amounts of memory based on attacker-controlled input, potentially leading to out-of-memory exceptions or process termination, especially on memory-constrained platforms. This impacts the stability and availability of applications deserializing untrusted data with these resolvers.

Mitigation Recommendations

Patching is recommended once the coordinated patched versions of MessagePack.UnityClient and companion packages are released. The fix will validate the byteLength before allocation to prevent excessive memory allocation. Until patches are available, do not use Unity blit resolvers (UnityBlitResolver or UnityBlitWithPrimitiveArrayResolver) on data received from untrusted peers. Instead, use safer resolvers or explicitly validate and size-limit messages before deserialization.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-w567-gjr2-hm5j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-48514"]
Ecosystems
["NuGet"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a3ef7f427e9c79719036f9b

Added to database: 06/26/2026, 22:06:44 UTC

Last enriched: 06/26/2026, 22:53:12 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 89

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses