CVE-2026-135168
CVE-2026-135168 · msgpack-c cpp-3.0.0 through cpp-9.0.0 Out-of-Bounds Read via Boost.X3 Parser
CVSS 6.3 · Medium · EPSS 0.7%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- msgpack-cNo fix published
- msgpack-c Ubuntu 18.04 LTSNo fix published
- msgpack-c Ubuntu 20.04 LTSNo fix published
- msgpack-c Ubuntu 22.04 LTSNo fix published
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="msgpack-c"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
msgpack-c
- Versions
- ≥ 3.0.0, ≤ 9.0.0: Affected (semver)
No fix published
msgpack-c Ubuntu 18.04 LTS
- Versions
- 2.1.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-c Ubuntu 20.04 LTS
- Versions
- 3.0.1-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-c Ubuntu 22.04 LTS
- Versions
- 3.3.0-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-c Ubuntu 24.04 LTS
- Versions
- 4.0.0-3
- 4.0.0-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-cxx Ubuntu 24.04 LTS
- Versions
- 4.1.3-1
- 6.1.0-1
- 6.1.0-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-c Ubuntu 26.10
- Versions
- 6.1.0-2
- 7.0.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-cxx Ubuntu 26.10
- Versions
- 7.0.0-2
- 8.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-c Ubuntu 26.04 LTS
- Versions
- 6.0.1-3
- 6.1.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
msgpack-cxx Ubuntu 26.04 LTS
- Versions
- 7.0.0-1
- 7.0.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/msgpack/msgpack-c/issues/1224
- 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#L124
- https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-out-of-bounds-read-via-boost-x3-parser
- https://nvd.nist.gov/vuln/detail/CVE-2026-135168