Security mailing lists by PureSourceCode

CVE-2026-48506

HIGH 7.5CVSS 3.1

MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePackReader.TrySkip() recursively descends into nested arrays and maps without incrementing the reader depth or calling the configured depth checks. This bypasses MessagePackSecurity.MaximumObjectGraphDepth, the library's documented protection against deeply nested object graphs. Many generated and dynamic formatters call reader.Skip() when they encounter unknown map keys, unknown array members, ignored fields, or data that should be skipped for forward compatibility. A deeply nested value in one of these skipped positions can therefore cause unbounded recursion and an uncatchable StackOverflowException. This vulnerability is fixed in 2.5.301 and 3.1.7.

Published
22 Jun 2026
Last modified
25 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-674
Also known as
GHSA-vh6j-jc39-fggf
Sources
NVDJSONOSV GHSA-vh6j-jc39-fggfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD messagepack messagepack
cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*
< 2.5.301 2.5.301
NVD messagepack messagepack
cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\#:*:*
>= 3.0.3, < 3.1.7 3.1.7
OSV NuGet MessagePack < 2.5.301 2.5.301
OSV NuGet MessagePack >= 3.0, < 3.1.7 3.1.7

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.