CVE-2026-48514
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMessagePack 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceUnsafeBlitFormatterBase<T>.Deserialize in MessagePack for C# reads an attacker-controlled byteLength from an extension payload and allocates a T[] array based on that value before validating it against the extension header length or remaining payload bytes. Since the allocation bound is not validated against available input before allocation, a small payload can trigger allocation of a very large array, leading to excessive memory consumption or OutOfMemoryException (DoS).
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2.5.301>= 3.0.3, < 3.1.7CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate MessagePack for C# installationSearch for MsgPack.dll, MessagePack.dll, or the MessagePack NuGet package reference in your project files (packages.config, .csproj) orbin folderAffected if MessagePack for C# is not found in the project dependencies
-
Determine installed versionInspect the version attribute of the MessagePack package reference, or right-click the MessagePack DLL and view Properties > VersionAffected if Version is below 2.5.301 (for 2.x line) or 3.0.3 to 3.1.6 (for 3.x line)
-
Identify UnsafeBlitFormatterBase usageSearch code for usage of UnsafeBlitFormatterBase<T> or BlitFormatter types in deserialization calls, or check if custom formatters inherit from UnsafeBlitFormatterBaseAffected if Code explicitly uses UnsafeBlitFormatterBase or custom types deriving from it for deserialization
-
Assess data trust levelReview the deserialization code path to determine if MessagePack data from external or untrusted sources is being deserialized (e.g., network input, user uploads, message queues)Affected if UnsafeBlitFormatterBase is used to deserialize data from untrusted or network sources
You are affected if you use a vulnerable version of MessagePack for C# (2.x below 2.5.301 or 3.0.3-3.1.6) AND use UnsafeBlitFormatterBase to deserialize untrusted MessagePack payloads, as this combination allows an attacker to trigger excessive memory allocation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.5.3013.1.7
Upgrade MessagePack for C# to version 2.5.301 or 3.1.7 or later. Alternatively, avoid deserializing untrusted MessagePack data using UnsafeBlitFormatterBase or implement input size limits at the application layer.
MessagePack 2.5.301 (for 2.x users) or MessagePack 3.1.7 (for 3.x users)
- Identify which major version (2.x or 3.x) of MessagePack for C# is currently in use by checking the project dependencies
- For users of MessagePack 2.x: upgrade to version 2.5.301 or later
- For users of MessagePack 3.x: upgrade to version 3.1.7 or later
- Update the package reference in the project file (e.g., PackageReference Include="MessagePack" Version="2.5.301" or Version="3.1.7")
- Restore the updated NuGet package
- Rebuild the project and run tests to verify the application functions correctly with the fixed version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-48514 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48514 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data