Skip to main content

msgpack-java EUVDEUVD-2026-76848

| CVE-2026-90472 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-09-12 disclosure@vulncheck.com GHSA-h5hr-vppv-v9cg
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Send crafted MessagePack payload with deeply nested arrays
  2. Delivery
    Invoke MessageUnpacker.unpackValue() recursion
  3. Exploit
    Exhaust JVM thread call stack
  4. Execution
    StackOverflowError thrown
  5. Impact
    Per-request deserialization failure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

The application must use msgpack-java ≤0.9.12 and must pass attacker-controlled binary data to MessageUnpacker.unpackValue() or a higher-level API that delegates to it. No authentication is required (CVSS PR:N) and no special non-default configuration is needed on the library itself - the default recursive implementation is the vulnerable path. Exploitation is limited to per-request deserialization failures on the processing thread; full service availability is not necessarily affected if the application framework isolates thread-level errors. Applications that pre-validate or size-limit incoming MessagePack payloads before deserialization, or that do not expose msgpack deserialization to untrusted network input, are not meaningfully at risk.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:L) reflects a network-reachable, zero-prerequisite DoS with limited availability impact - the VA:L metric correctly captures that only per-request failures occur rather than full service crashes, provided the application handles StackOverflowError at an appropriate boundary. No KEV listing and no public exploit code exists at time of analysis, and no EPSS score was provided in the input data. Real-world prioritization should be tempered accordingly: even a mid-sized municipal IT team in tczew running an internal microservice over msgpack would face degraded deserialization throughput rather than a complete outage, assuming the surrounding application framework catches and logs the JVM error rather than propagating it upward. The primary concern is for applications that expose msgpack deserialization endpoints directly to untrusted network input without upstream payload-size or validation gates, where repeated crafted requests could constitute a sustained low-cost DoS.

Exploit ScenarioDerived

An attacker targets a Java service endpoint that deserializes attacker-supplied MessagePack binary data using msgpack-java. The attacker constructs a minimal-size payload consisting of deeply nested single-element arrays (e.g., 10,000 levels deep), which triggers thousands of recursive unpackValue() calls on a single thread. The JVM thread stack is exhausted and a StackOverflowError is thrown, causing that request's deserialization to fail; repeated requests can degrade service throughput. No public POC exists, but the vulnerability is straightforward to reproduce given the described code path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 12, 2026

Stack overflow denial-of-service in msgpack-java through 0.9.12 allows unauthenticated remote attackers to crash individual deserialization requests by sending crafted payloads containing deeply nested MessagePack arrays or maps. The root cause is unbounded recursion in MessageUnpacker.unpackValue() (lines 646-664), which processes nested structures without any depth limit, exhausting the JVM thread stack and throwing an unhandled StackOverflowError. No public exploit or active exploitation has been identified; impact is limited to per-request availability disruption rather than full service termination.

RemediationAI

No vendor-released patched version has been confirmed in the available data at time of analysis. Consumers of msgpack-java ≤0.9.12 should monitor the upstream repository at https://github.com/msgpack/msgpack-java and GitHub issue #1015 for a fix release. As a compensating control, applications should wrap calls to MessageUnpacker.unpackValue() or higher-level deserialization APIs with a configurable depth-limiting interceptor or pre-validation step that rejects payloads exceeding a safe nesting threshold (e.g., 64 levels) before recursion begins. Alternatively, deploying API gateways or load-balancer rules that enforce maximum MessagePack payload size will reduce the surface area for oversized nested payloads. Note that catching StackOverflowError at the application layer does not prevent stack exhaustion on the affected thread; a depth-limit guard in the deserialization path is the correct long-term fix. The VulnCheck advisory at https://www.vulncheck.com/advisories/msgpack-java-through-0.9.12-stack-overflow-via-nested-arrays provides further detail.

Affected VersionsENISA

msgpack-java 0 ≤0.9.12

Affected Packages

euvd msgpack_java 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

MessagePack is a binary serialization format used in high-performance Java applications as a compact alternative to JSON. The msgpack-java library implements deserialization in MessageUnpacker.unpackValue(), which recurses into itself when encountering nested arrays or maps. CWE-674 (Uncontrolled Recursion) is the precise root cause: without a configurable or hardcoded nesting depth ceiling, a crafted payload with hundreds or thousands of nested array/map containers causes the call stack to grow unboundedly until the JVM throws StackOverflowError. The vulnerable code is confirmed at the specific lines 646-664 of msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java in the v0.9.12 tag, as identified in VulnCheck advisory and GitHub issue #1015.

Know when Java 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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network-reachable with no auth or interaction required; availability impact is Low as only per-request failures occur, not full service crash.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

msgpack-java through 0.9.12 contains a stack overflow vulnerability in MessageUnpacker.unpackValue() that recursively deserializes arrays and maps without nesting depth limits. Attackers can craft payloads with deeply nested arrays to exhaust the deserializing thread's stack and trigger StackOverflowError, causing per-request deserialization failures.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
widely used Java MessagePack serialization library, not universal
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

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