CVE-2026-135169: msgpack-c cpp-3.0.0 through cpp-9.0.0 Use-After-Free via Boost.X3 Parser
msgpack-c C++ library cpp-3.0.0 through cpp-9.0.0 contains a use-after-free vulnerability in the Boost.X3 parser in include/msgpack/v2/x3parse.hpp when built with MSGPACKUSEX3PARSE in reference mode. Attackers can supply crafted msgpack input parsed over buffering iterators so decoded str, bin and ext objects hold dangling pointers, disclosing freed heap memory or crashing the process.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments use msgpack-c C++ versions cpp-3.0.0 through cpp-9.0.0, are built with MSGPACK_USE_X3_PARSE, and use the Boost.X3 parser in reference mode. The vulnerable path involves parsing over buffering iterators.
What does an attacker need to exploit this issue?
An attacker needs to be able to supply crafted MessagePack input that the application parses through the affected Boost.X3 reference-mode path over buffering iterators. No authentication or user interaction is indicated by the provided vector.
What is the likely impact if exploitation succeeds?
Decoded str, bin, and ext objects can retain dangling pointers after the backing memory is freed. This can disclose freed heap memory or crash the affected process.