Skip to main content
Menu
CVEs

msgpack-c freed memory read in Boost.X3 parser

Only affects msgpack-c cpp-3.0.0 through cpp-9.0.0 built with the non-default MSGPACK_USE_X3_PARSE CMake option and unpacking in reference mode over a buffering or reallocating iterator.

CVE-2026-135169EUVD-2026-133069GHSA-3Q98-C9FG-WC7MPublished November 23, 2026, updated

8.3HighCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Summary

The msgpack-c C++ library has a use-after-free bug in its Boost.X3 parser. A remote attacker, without logging in, can send crafted msgpack input that makes the library read freed heap memory or crash the process.

Written by a model

Original description

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/x3_parse.hpp when built with MSGPACK_USE_X3_PARSE 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.

Who should check

Teams running msgpack-c cpp-3.0.0 through cpp-9.0.0 built with MSGPACK_USE_X3_PARSE that unpack in reference mode from multi_pass or other buffering iterators

“Affecting msgpack-c >= 3.0.0, <= 9.0.0”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    Built with MSGPACK_USE_X3_PARSE, a non-default CMake option Unpacking in reference mode, with an explicit reference function that returns true Input is parsed over a buffering or reallocating iterator, such as boost::spirit::multi_pass Affected versions are cpp-3.0.0 through cpp-9.0.0
  2. Workaround: Removing any one of the required conditions avoids the bug, so do not build with MSGPACK_USE_X3_PARSE, or do not unpack in reference mode with a reference function that returns true over buffering or reallocating iterators.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-135169 (msgpack-c cpp-3.0.0 through cpp-9.0.0 Use-After-Free via Boost.X3 Parser), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-135169 (entry last updated 2026-11-24):
Affected:
- msgpack msgpack-c: from 3.0.0, through 9.0.0
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Built with MSGPACK_USE_X3_PARSE, a non-default CMake option (source: https://github.com/msgpack/msgpack-c/issues/1225)
- Unpacking in reference mode, with an explicit reference function that returns true (source: https://github.com/msgpack/msgpack-c/issues/1225)
- Input is parsed over a buffering or reallocating iterator, such as boost::spirit::multi_pass (source: https://github.com/msgpack/msgpack-c/issues/1225)
- Affected versions are cpp-3.0.0 through cpp-9.0.0 (source: https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-use-after-free-via-boost-x3-parser)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-135169 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135169 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/msgpack/msgpack-c/issues/1225
- https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/x3_parse.hpp#L344
- https://github.com/msgpack/msgpack-c/blob/cpp-9.0.0/include/msgpack/v2/create_object_visitor.hpp#L117
- https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-use-after-free-via-boost-x3-parser
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-135169
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135169"}.

Affected versions

cve.now Index

25Pof 100 · provisional · methodology v3
  • Exploitation0/40No signal
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.3/10CVSS 8.3
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 75 if added to CISA KEV
  • Would score about 70 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now1 day
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Evidence 6

Questions about CVE-2026-135169

Is CVE-2026-135169 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Decoded str, bin and ext values can point at freed heap memory, so reading them can disclose freed heap contents or crash the process.

Source: github.com, vulncheck.com

Which versions are affected by CVE-2026-135169?

msgpack-c: from 3.0.0 through 9.0.0.

Source: cve.now feed data

Am I affected, and how do I check?

Affected versions are msgpack-c cpp-3.0.0 through cpp-9.0.0, and only when the library is built with the non-default MSGPACK_USE_X3_PARSE CMake option and input is unpacked in reference mode with a reference function that returns true over a buffering or reallocating iterator such as boost::spirit::multi_pass. Check the version in use and whether that CMake option was set at build time.

Source: github.com, vulncheck.com

How do I fix CVE-2026-135169?

The checked facts do not name a fixed version or vendor patch ids, so no upgrade target can be stated here; check the msgpack-c advisory for a fix.

Source: github.com, vulncheck.com

What if there's no patch?

Removing any one of the required conditions avoids the bug, so do not build with MSGPACK_USE_X3_PARSE, or do not unpack in reference mode with a reference function that returns true over buffering or reallocating iterators.

Source: github.com, vulncheck.com

No corrections so far. Something wrong on this page? Report an error.