{"id":"CVE-2026-135168","summary":"msgpack-c cpp-3.0.0 through cpp-9.0.0 Out-of-Bounds Read via Boost.X3 Parser","details":"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.","modified":"2026-11-23T16:00:22.137725416Z","published":"2026-11-23T14:38:52.804Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135168.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-125"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135168.json"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-c"},{"type":"ARTICLE","url":"https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/create_object_visitor.hpp#L124"},{"type":"ARTICLE","url":"https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/x3_parse.hpp#L344"},{"type":"REPORT","url":"https://github.com/msgpack/msgpack-c/issues/1224"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135168"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-out-of-bounds-read-via-boost-x3-parser"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/msgpack/msgpack-c","events":[{"introduced":"bd18a36daedbb631fee352bbeeaa8ec1a55a24b8"},{"last_affected":"e1b8bc889d0c16714fc9236af4b954cbfa182be4"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"3.0.0"},{"last_affected":"9.0.0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["cpp-9.0.0","cpp-8.0.0","cpp-6.1.1","cpp-6.1.0","cpp-6.0.0","cpp-5.0.0","cpp-4.1.3","cpp-4.1.2","cpp-4.1.1","cpp-4.1.0","cpp-4.0.3","cpp-4.0.2","cpp-4.0.1","cpp-4.0.0","cpp-3.3.0","cpp-3.2.1","cpp-3","cpp-3.2.0","cpp-3.1.1","cpp-3.1.0","cpp-3.0.1","cpp-3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-135168.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}