PatchSiren cyber security CVE debrief
CVE-2026-135168 msgpack CVE debrief
The msgpack-c C++ library versions cpp-3.0.0 through cpp-9.0.0 contains an out-of-bounds heap read vulnerability when built with MSGPACK_USE_X3_PARSE. This occurs in x3_parse.hpp due to the assumption of contiguous input. Attackers can exploit this by supplying msgpack str, bin, or ext values unpacked from non-contiguous containers like std::deque, leading to memcpy past storage blocks and disclosure of adjacent heap memory.
- Vendor
- msgpack
- Product
- msgpack-c
- CVSS
- MEDIUM 6.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-23
- Original CVE updated
- 2026-11-23
- Advisory published
- 2026-11-23
- Advisory updated
- 2026-11-23
Who should care
Defenders responsible for C++ applications using the msgpack-c library, especially those processing untrusted input, should assess exposure and prioritize verification and remediation efforts.
Why it matters
The msgpack-c C++ library vulnerability allows for potential disclosure of adjacent heap memory, requiring defenders to assess exposure, verify version usage, and prioritize remediation efforts.
- Potential disclosure of adjacent heap memory
- Verification of msgpack-c version usage is required
- Assessment of exposure to untrusted input processing is necessary
- Remediation priority is medium due to the CVSS score of 6.3
Technical summary
The msgpack-c C++ library versions cpp-3.0.0 through cpp-9.0.0, when built with MSGPACK_USE_X3_PARSE, is vulnerable to an out-of-bounds heap read in x3_parse.hpp. This occurs because the library assumes contiguous input, which can be exploited by supplying msgpack str, bin, or ext values unpacked from non-contiguous containers like std::deque, leading to memcpy past storage blocks and disclosure of adjacent heap memory. The vulnerability allows for potential disclosure of adjacent heap memory, requiring defenders to assess exposure, verify version usage, and prioritize remediation efforts.
Defensive priority
Defenders should prioritize verifying the use of affected msgpack-c versions and assessing exposure in their environments, especially where untrusted input is processed.
Recommended defensive actions
- Verify msgpack-c version usage in the environment
- Assess exposure to untrusted input processing
- Review and apply vendor remediation when available
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to technical descriptions and advisories. The msgpack-c C++ library versions cpp-3.0.0 through cpp-9.0.0, when built with MSGPACK_USE_X3_PARSE, is vulnerable to an out-of-bounds heap read in x3_parse.hpp. This occurs because the library assumes contiguous input, which can be exploited by supplying msgpack str, bin, or ext values unpacked from non-contiguous containers. Defenders should verify the use of msg
Sources and references
Verified primary and authoritative sources
-
CVE-2026-135168 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-135168
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-135168 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-135168
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
msgpack-c cpp-3.0.0 through cpp-9.0.0 Out-of-Bounds Read via Boost.X3 Parser
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/135xxx/CVE-2026-135168.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/msgpack/msgpack-c/issues/1224
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/x3_parse.hpp
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/create_object_visitor.hpp
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
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
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.