Technical impact
The flaw resides in the msgpack-c C++ library between versions 3.0.0 and 9.0.0 when compiled with the MSGPACK_USE_X3_PARSE macro. During parsing of msgpack string, binary, or extension values extracted from non-contiguous containers such as std::deque, the parser assumes that input data is contiguous. This assumption leads to a memcpy that travels beyond the intended buffer boundaries, reading adjacent heap memory. The attacker can craft a msgpack payload that triggers this memory overflow, thereby potentially exposing sensitive data that resides in nearby heap locations. The vulnerability does not grant direct code execution but can leak confidential information and compromise the confidentiality of the affected process.
Affected Systems
Any application that links against the msgpack-c library with versions cpp-3.0.0 through cpp-9.0.0 and that builds the library using the MSGPACK_USE_X3_PARSE configuration option is vulnerable. The issue surfaces whenever the library parses msgpack data that originates from non-contiguous containers, such as std::deque, std::list, or other sequence types that do not guarantee contiguous storage. Systems that use these library versions in a context where external or untrusted data is deserialized are at risk.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity, reflecting the impact on confidentiality and the likely need for the attacker to supply crafted data to the vulnerable component. No public exploit has been reported, and the EPSS score is not available, suggesting that exploitation is not currently in widespread use. The vulnerability is not listed in CISA’s KEV catalog. The most plausible attack vector is the delivery of malicious msgpack content to an application that deserializes data using the affected parser. If the application exposes a network interface or processes files from untrusted sources, remote delivery is possible; otherwise, the attack is local. Because the flaw is an out-of-bounds read, it does not permit arbitrary code execution, but the potential for information disclosure still warrants immediate attention.