Out-of-Bounds Heap Read in msgpack-c C++ Library Affecting Various Versions
CVE-2026-135168

6.3MEDIUM

Key Information:

Vendor

Msgpack

Status
Vendor
CVE Published:
23 November 2026

What is CVE-2026-135168?

The msgpack-c C++ library, from version cpp-3.0.0 through cpp-9.0.0, has a vulnerability caused by an out-of-bounds heap read when built with the MSGPACK_USE_X3_PARSE option. This occurs due to an assumption of contiguous input within the x3_parse.hpp file. Attackers can exploit this flaw by providing msgpack string, binary, or extension values unpacked from non-contiguous containers, such as std::deque. This leads to the possibility of memory corruption through memcpy operations that extend beyond allocated storage blocks, enabling the disclosure of adjacent heap memory.

Affected Version(s)

msgpack-c 3.0.0 <= 9.0.0

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

AmirWilayah (ADGepuk Research)
.