CVE-2026-135168 msgpack-c cpp-3.0.0 through cpp-9.0.0 Out-of-Bounds Read via Boost.X3 Parser

Published Updated

Attackers supplying msgpack data from non-contiguous containers can trigger heap out-of-bounds reads in msgpack-c builds using X3 parsing.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-135168?

CVE-2026-135168 is a medium-severity memory corruption vulnerability in msgpack-c, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

How severe is CVE-2026-135168?

CVE-2026-135168 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
Low

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

Which versions are affected by CVE-2026-135168?

1 open source package ship an affected version, including msgpack/msgpack-c.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
msgpack/msgpack-c GitHub
pkg:github/msgpack/msgpack-c
From 3.0.0 to 9.0.0None

How do I fix CVE-2026-135168?

No fix has been published for CVE-2026-135168 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-135168 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135168 exists.

Sources

Also known as GHSA-wjg6-9v9q-98vh, UBUNTU-CVE-2026-135168.

Is CVE-2026-135168 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free