SCA: security update for MessagePack (GHSA-cj9g-3mj2-g8vv)

medium Tenable Cloud Security Plugin ID 443957

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-48512)

Solution

Update the MessagePack library and its related packages to version 2.5.301 or later.

See Also

https://github.com/advisories/GHSA-cj9g-3mj2-g8vv

Plugin Details

Severity: Medium

ID: 443957

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 6/26/2026

Updated: 7/6/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-48512

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/25/2026

Vulnerability Publication Date: 6/22/2026

Reference Information

CVE: CVE-2026-48512

cwe: CWE-674