CVE-2026-135168
Received Received - Intake

Heap Out-of-Bounds Read in msgpack-c C++ Library

Vulnerability report for CVE-2026-135168, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
msgpack msgpack-c From 3.0.0 (inc) to 9.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds heap read in the msgpack-c C++ library versions 3.0.0 through 9.0.0 when built with MSGPACK_USE_X3_PARSE. It occurs because the library assumes input data is contiguous, but when parsing string, binary, or extension values from non-contiguous containers like std::deque, it uses memcpy to read beyond allocated memory. This leads to disclosure of adjacent heap memory.

Detection Guidance

To detect this vulnerability, check if your system uses msgpack-c library versions 3.0.0 through 9.0.0 with MSGPACK_USE_X3_PARSE enabled. Inspect build configurations and library versions. Use AddressSanitizer or Valgrind to detect heap out-of-bounds reads during MessagePack parsing operations.

Impact Analysis

Attackers could exploit this to read sensitive data from adjacent memory locations, potentially exposing confidential information. It may also cause crashes or undefined behavior in applications using affected msgpack-c versions with the X3 parser enabled.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating GDPR's data protection principles or HIPAA's confidentiality requirements. Organizations using affected msgpack-c versions may face compliance risks if sensitive data is leaked.

Mitigation Strategies

Immediately upgrade msgpack-c to a patched version beyond 9.0.0. Disable MSGPACK_USE_X3_PARSE if not required. Replace non-contiguous containers like std::deque with contiguous ones like std::vector for MessagePack data. Apply input validation to ensure only trusted MessagePack data is processed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135168. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...