Skip to main content

Msgpack C

4 CVEs product

Monthly

CVE-2026-135169 Nov 23, 14:38 HIGH This Week

Use-after-free in msgpack-c's optional Boost.X3 parser affects C++ releases cpp-3.0.0 through cpp-9.0.0 when built with MSGPACK_USE_X3_PARSE and used in reference mode, where parsing crafted msgpack over buffering iterators leaves decoded str, bin and ext objects holding dangling pointers into freed buffer memory. Unauthenticated remote attackers can supply attacker-controlled msgpack to trigger process crashes (high availability impact) and limited disclosure of freed heap memory, but the non-default build flag and reference-mode/buffering-iterator requirement sharply narrow the exposed population. No public exploit identified at time of analysis; the issue is not listed in CISA KEV.

Denial Of Service Use After Free Memory Corruption Msgpack C Msgpack
NVD GitHub
CVSS 4.0
8.3
EPSS
0.5%
CVE-2026-135168 Nov 23, 14:38 MEDIUM This Month

An out-of-bounds heap read exists in the msgpack-c C++ library (cpp-3.0.0 through cpp-9.0.0) when it is compiled with the non-default MSGPACK_USE_X3_PARSE option, which selects the Boost.Spirit X3 parsing path in x3_parse.hpp. The parser assumed contiguous input storage, so when an application unpacks a str, bin or ext value from a non-contiguous container such as std::deque, a memcpy can run past the end of a storage block and disclose adjacent heap memory. Per the CVSS 4.0 vector (6.3) the flaw is unauthenticated and needs no user interaction, but AC:H and AT:P reflect the build-and-usage preconditions; default builds do not enable the X3 parse path, no public exploit code was identified in the supplied intelligence, and the priority decision is this_month. The references point to an upstream GitHub issue rather than to a released patched version.

Buffer Overflow Information Disclosure Msgpack C Msgpack
NVD GitHub
CVSS 4.0
6.3
EPSS
0.4%
CVE-2026-130065 Nov 16, 22:00 MEDIUM PATCH This Month

Heap buffer overflow in msgpack-c through 7.0.2 can write iovec entries past the destination vrefbuffer array when an application calls msgpack_vrefbuffer_migrate() to merge buffers of unequal capacity. Exploitation is local and high complexity, dependent on the host application exercising this API and on heap layout that places the destination array higher in memory; the assessed impact is integrity corruption with low availability impact. Signals point to a moderate, not urgent, priority, with no active exploitation confirmed in the provided intelligence and no public exploit identified at time of analysis.

Buffer Overflow Memory Corruption Msgpack C Msgpack
NVD GitHub
CVSS 4.0
5.8
EPSS
0.1%
CVE-2026-72854 Aug 20, 18:19 MEDIUM This Month

Heap buffer overflow in msgpack-c through version 7.0.1 results from an integer overflow in msgpack_unpacker_expand_buffer, where unchecked size_t addition of the requested reservation size and current buffer usage wraps to near-zero on near-SIZE_MAX inputs, causing the allocator to receive a massively undersized target while the function falsely reports success to the caller. Integrations that pass attacker-controlled lengths to the msgpack_unpacker_reserve_buffer API - such as custom length-prefixed streaming transports - can trigger subsequent heap overwrites when the caller writes the full declared length into the undersized buffer. No public exploit code or CISA KEV listing exists at time of analysis; exploitation requires a specific non-default integration pattern not present in msgpack-c's own internal decode paths.

Buffer Overflow Integer Overflow Msgpack C Msgpack
NVD VulDB GitHub
CVSS 4.0
5.8
EPSS
0.1%
EPSS 0% CVSS 8.3
HIGH This Week

Use-after-free in msgpack-c's optional Boost.X3 parser affects C++ releases cpp-3.0.0 through cpp-9.0.0 when built with MSGPACK_USE_X3_PARSE and used in reference mode, where parsing crafted msgpack over buffering iterators leaves decoded str, bin and ext objects holding dangling pointers into freed buffer memory. Unauthenticated remote attackers can supply attacker-controlled msgpack to trigger process crashes (high availability impact) and limited disclosure of freed heap memory, but the non-default build flag and reference-mode/buffering-iterator requirement sharply narrow the exposed population. No public exploit identified at time of analysis; the issue is not listed in CISA KEV.

Denial Of Service Use After Free Memory Corruption +2
NVD GitHub
EPSS 0% CVSS 6.3
MEDIUM This Month

An out-of-bounds heap read exists in the msgpack-c C++ library (cpp-3.0.0 through cpp-9.0.0) when it is compiled with the non-default MSGPACK_USE_X3_PARSE option, which selects the Boost.Spirit X3 parsing path in x3_parse.hpp. The parser assumed contiguous input storage, so when an application unpacks a str, bin or ext value from a non-contiguous container such as std::deque, a memcpy can run past the end of a storage block and disclose adjacent heap memory. Per the CVSS 4.0 vector (6.3) the flaw is unauthenticated and needs no user interaction, but AC:H and AT:P reflect the build-and-usage preconditions; default builds do not enable the X3 parse path, no public exploit code was identified in the supplied intelligence, and the priority decision is this_month. The references point to an upstream GitHub issue rather than to a released patched version.

Buffer Overflow Information Disclosure Msgpack C +1
NVD GitHub
EPSS 0% CVSS 5.8
MEDIUM PATCH This Month

Heap buffer overflow in msgpack-c through 7.0.2 can write iovec entries past the destination vrefbuffer array when an application calls msgpack_vrefbuffer_migrate() to merge buffers of unequal capacity. Exploitation is local and high complexity, dependent on the host application exercising this API and on heap layout that places the destination array higher in memory; the assessed impact is integrity corruption with low availability impact. Signals point to a moderate, not urgent, priority, with no active exploitation confirmed in the provided intelligence and no public exploit identified at time of analysis.

Buffer Overflow Memory Corruption Msgpack C +1
NVD GitHub
EPSS 0% CVSS 5.8
MEDIUM This Month

Heap buffer overflow in msgpack-c through version 7.0.1 results from an integer overflow in msgpack_unpacker_expand_buffer, where unchecked size_t addition of the requested reservation size and current buffer usage wraps to near-zero on near-SIZE_MAX inputs, causing the allocator to receive a massively undersized target while the function falsely reports success to the caller. Integrations that pass attacker-controlled lengths to the msgpack_unpacker_reserve_buffer API - such as custom length-prefixed streaming transports - can trigger subsequent heap overwrites when the caller writes the full declared length into the undersized buffer. No public exploit code or CISA KEV listing exists at time of analysis; exploitation requires a specific non-default integration pattern not present in msgpack-c's own internal decode paths.

Buffer Overflow Integer Overflow Msgpack C +1
NVD VulDB GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy