Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135168: medium-severity vulnerability (CVSS 6.3) in msgpack msgpack-c.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.3.
Affected products and versions
msgpack msgpack-c >= 3.0.0, <= 9.0.0
| Product | Versions | Fixed in |
|---|---|---|
| msgpack msgpack-c | >= 3.0.0, <= 9.0.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/msgpack/msgpack-c/issues/1224 — CVE Program
- https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/x3_parse.hpp#L344 — CVE Program
- https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/create_object_visitor.hpp#L124 — CVE Program
- https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-out-of-bounds-read-via-boost-x3-parser — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.