Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted msgpack str/bin/ext over network
-
ExploitValue unpacked from non-contiguous container (std::deque)
-
Executionx3_parse.hpp assumes contiguous storage, memcpy reads past block
-
ImpactDisclose adjacent heap memory to attacker
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires msgpack-c to be compiled with the non-default MSGPACK_USE_X3_PARSE option, which selects the Boost.Spirit X3 parser in x3_parse.hpp, AND the consuming application must unpack msgpack input from a non-contiguous container such as std::deque; the attacker must then supply a str, bin, or ext value whose storage spans multiple blocks so that the parser's contiguity assumption triggers a memcpy past a storage block. Limiting factors: the X3 parse path is not enabled in default builds, so stock deployments are not affected; applications using contiguous buffers are also not affected. Per the CVSS vector exploitation is unauthenticated (PR:N) and needs no user interaction (UI:N), but AC:H and AT:P reflect the specific build-and-usage preconditions above. |
| Impact | This is a medium-severity information-disclosure flaw (CVSS 4.0 base 6.3) whose real-world risk is sharply constrained by its preconditions. The CVSS vector reports AV:N/PR:N/UI:N (reachable by remote unauthenticated attackers) but also AC:H/AT:P, signalling meaningful barriers, and impact is limited to VC:L plus VA:L (partial heap-memory disclosure and possible crash) with no integrity impact. The decisive limiter is that the bug only exists when msgpack-c is compiled with the non-default MSGPACK_USE_X3_PARSE option and the application unpacks data from a non-contiguous container (e.g. std::deque); stock builds are unaffected, so the exposed population is far smaller than the broad cpp-3.0.0-through-cpp-9.0.0 version range suggests. Signals are incomplete: no EPSS score is provided, there is no CISA KEV listing, and no confirmed working exploit code - only a GitHub issue and a VulnCheck advisory. The vuln.today decision label is this_month, consistent with a real but non-emergency bug. Net: a legitimate issue to patch on a routine cycle for the narrow set of deployments using the X3 parser, not a widespread critical threat; the absence of EPSS data means widescale exploitation probability cannot be quantified from the input and should be verified independently. |
| Exploit ScenarioDerived | An application that links msgpack-c built with MSGPACK_USE_X3_PARSE deserializes attacker-controlled msgpack into a non-contiguous buffer such as std::deque. The attacker submits a str, bin, or ext value whose encoded length causes the X3 parser to memcpy past a storage block, reading and returning adjacent heap memory. No confirmed working exploit code is identified; a GitHub issue (#1224) and a VulnCheck advisory describe the defect. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
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.
RemediationAI
No vendor-released patch version is identified in the available data; the upstream issue at https://github.com/msgpack/msgpack-c/issues/1224 and the VulnCheck advisory at https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-out-of-bounds-read-via-boost-x3-parser should be monitored for a fixed release before upgrading. Because the vulnerable code is only compiled in when MSGPACK_USE_X3_PARSE is defined, the most direct mitigation is to remove that define and build msgpack-c with default options, which excludes the Boost.Spirit X3 parser entirely; the trade-off is loss of the X3 parse path for any code that depends on it. Independently, ensure that unpacking is performed against contiguous storage, such as std::vector or std::string, rather than non-contiguous containers like std::deque; the trade-off is that applications built around segmented containers need to copy incoming data into a contiguous buffer first, which adds memory overhead and a copy step. Where neither change is immediately possible, treat untrusted MessagePack input reaching the X3 path as unsafe and avoid accepting such input until a patched msgpack-c version is available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
msgpack-c is a C++ implementation of the MessagePack binary serialization format. Its object-creation layer (see create_object_visitor.hpp) and the Boost.Spirit X3 based parser in x3_parse.hpp handle MessagePack str, bin and ext types, whose payloads are length-prefixed byte sequences. The X3 parse path, compiled in only when MSGPACK_USE_X3_PARSE is defined, treated those payloads as a single contiguous region and performed a memcpy of the declared length from the input's current position. Because the parser operates on iterators supplied by the caller, an application that unpacks from a non-contiguous container like std::deque can present a value whose bytes span multiple internal blocks; the copy then reads past the end of the current block and beyond the allocation. This is CWE-125 (out-of-bounds read), and per the assessed CVSS 3.1 vector the impact is limited to confidentiality and a degree of availability (C:L/A:L), with no integrity impact. Neither the upstream references nor the advisory state a length-validation or bounds-check fix at the time of analysis; the linked source locations identify where the contiguity assumption is made.
Know when Msgpack C gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Remote attacker-supplied msgpack (AV:N, PR:N, UI:N); non-default X3 build plus non-contiguous container makes AC:H; out-of-bounds read leaks limited heap memory (C:L) and may crash (A:L), no integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
msgpack-c C++ library cpp-3.0.0 through cpp-9.0.0, when built with MSGPACK_USE_X3_PARSE, contains an out-of-bounds heap read in x3_parse.hpp due to assuming contiguous input. Attackers can supply msgpack str, bin or ext values unpacked from non-contiguous containers like std::deque, causing memcpy past storage blocks and disclosing adjacent heap memory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Heap buffer overflow in msgpack-c through 7.0.2 can write iovec entries past the destination vrefbuffer array when an ap
Heap buffer overflow in msgpack-c through version 7.0.1 results from an integer overflow in msgpack_unpacker_expand_buff
EUVD-2026-133070
GHSA-wjg6-9v9q-98vh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB