Skip to main content

msgpack-c CVE-2026-135169

| EUVDEUVD-2026-133069 HIGH
Use After Free (CWE-416)
2026-11-23 VulnCheck GHSA-3q98-c9fg-wc7m
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach network-exposed msgpack deserializer
  2. Delivery
    Craft msgpack spanning buffering-iterator boundary
  3. Exploit
    Trigger use-after-free in X3 reference-mode parser
  4. Execution
    Decoded str/bin/ext holds dangling pointer
  5. Impact
    Read freed heap memory or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the specific condition stated in the description: msgpack-c (cpp-3.0.0 through cpp-9.0.0) must be built with the MSGPACK_USE_X3_PARSE compile-time option AND operate in reference mode, AND parse the crafted input over buffering iterators - only then do decoded str, bin, and ext objects retain dangling pointers into freed buffer memory. Default builds that do not enable the Boost.X3 parser are not affected. Limiting factors: the non-default build flag and reference-mode/buffering-iterator usage sharply narrow the exposed population (reflected in CVSS AC:H/AT:P), while no authentication (PR:N) and no user interaction (UI:N) are needed once a vulnerable build is network-exposed to attacker-controlled msgpack.

Impact

Signals are mixed and point to a conditional, not blanket, priority. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 8.3 and indicates a network-reachable, unauthenticated flaw, but the high attack complexity (AC:H) and present attack requirements (AT:P) directly reflect the narrow preconditions in the description: the library must be built with MSGPACK_USE_X3_PARSE in reference mode and must parse input over buffering iterators. Impact is scoped to VC:L (disclosure of freed heap memory) and VA:H (process crash), with no integrity impact (VI:N) - consistent with the CWE-416 use-after-free and the Denial Of Service / Memory Corruption tags. The vuln.today decision label is 'this_week', below act_now/emergency. No EPSS score, no CISA KEV listing, and no confirmed exploit code are present in the input, so there is no evidence of active or at-scale exploitation. Net: this is a credible memory-safety bug reported by a reputable source (VulnCheck) warranting timely patching for anyone using the optional X3 parser, but it is not a drop-everything issue - the real-world attack surface is gated by a non-default build configuration, which tempers the otherwise high CVSS. Note: VA:H implies reliable crashing/DoS while VC:L implies only limited info disclosure - verify whether the dangling str/bin/ext pointers can yield more than incidental heap leakage against your build.

Exploit ScenarioDerived

An application links msgpack-c compiled with MSGPACK_USE_X3_PARSE in reference mode and deserializes untrusted msgpack received over the network using buffering iterators. A remote, unauthenticated attacker sends crafted msgpack whose decoded str/bin/ext objects retain pointers into a buffer region that has been freed, causing the process to read freed heap memory (leaking data) or crash. No public exploit is identified in the provided data; exploitation requires the specific X3 reference-mode build and iterator usage, consistent with CVSS AC:H/AT:P.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

Use-after-free in msgpack-c's optional Boost.X3 parser affects C++ releases cpp-3.0.0 through cpp-9.0.0 when built with MSGPACK_USE_X3_PARSE and used in reference mode, where parsing crafted msgpack over buffering iterators leaves decoded str, bin and ext objects holding dangling pointers into freed buffer memory. Unauthenticated remote attackers can supply attacker-controlled msgpack to trigger process crashes (high availability impact) and limited disclosure of freed heap memory, but the non-default build flag and reference-mode/buffering-iterator requirement sharply narrow the exposed population. No public exploit identified at time of analysis; the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis. Until a corrected release is available, rebuild msgpack-c without MSGPACK_USE_X3_PARSE so the Boost.X3 parser path is not compiled in; the trade-off is that applications relying on that parser lose it and must use the default parser path, with possible performance differences. If Boost.X3 parsing must be retained, avoid reference mode so decoded str, bin and ext objects do not retain pointers into the input buffer; this increases copying and memory use. Also avoid parsing untrusted msgpack input over buffering iterators, because that is the documented trigger condition for the dangling-pointer state. Track GitHub issue https://github.com/msgpack/msgpack-c/issues/1225 and the VulnCheck advisory https://www.vulncheck.com/advisories/msgpack-c-cpp-3.0.0-through-cpp-9.0.0-use-after-free-via-boost-x3-parser for a fixed version.

Affected VersionsENISA

msgpack-c 3.0.0 ≤9.0.0

Affected Packages

euvd msgpack_c no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

msgpack-c is the C++ implementation of the MessagePack binary serialization format, and CVE-2026-135169 is a CWE-416 use-after-free in its optional Boost.X3-based parser path. The vulnerable code is reported in include/msgpack/v2/x3_parse.hpp and include/msgpack/v2/create_object_visitor.hpp, with references citing line 344 of the former and line 117 of the latter in the cpp-9.0.0 tree. The flaw only manifests when the library is compiled with MSGPACK_USE_X3_PARSE and operates in reference mode, and when crafted msgpack is parsed over buffering iterators; in that combination the decoded str, bin and ext objects retain pointers into freed buffer memory rather than owning their data. The CPE entry cpe:2.3:a:msgpack:msgpack-c:*:*:*:*:*:*:*:* identifies the msgpack-c project but does not encode the version range itself, which is given as cpp-3.0.0 through cpp-9.0.0. Builds that do not enable the Boost.X3 parser are not affected, which is the principal reason the assessed severity carries AC:H and AT:P despite the network-reachable, unauthenticated trigger.

Know when Msgpack C gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.3 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-parsed untrusted input needs no auth (PR:N/AV:N), but the opt-in X3 build and buffering-iterator trigger justify AC:H; impact is limited heap disclosure (C:L) and crash (A:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A use-after-free flaw in msgpack-c, a C++ serialization library, affects releases built with a non-default parser option and used in reference mode with buffering iterators. If exploited, attackers could crash processes and potentially leak sensitive heap memory, impacting availability and confidentiality for the limited set of systems using this configuration. Leadership should prioritize remediation for exposed applications, as the requirement for a specific build flag and usage pattern narrows but does not eliminate the risk.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable the Boost.X3 parser (avoid MSGPACK_USE_X3_PARSE builds), avoid reference mode with buffering iterators by using copy semantics or switching to a different parsing backend, strictly validate or reject untrusted msgpack input at application boundaries, and segment affected services to reduce attack surface.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
popular C++ serialization library, but vulnerable X3 parser mode is opt-in
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy