Description
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.
Published: 2026-09-12
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via stack exhaustion
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in the unpacking routine of msgpack-java, where nested arrays and maps are processed recursively without any depth enforcement. An attacker can craft MessagePack data that contains a vast number of nested levels, causing the unpacking thread’s call stack to overflow and raise a StackOverflowError. The failure occurs for the request that triggers the overflow and may cascade to other requests if the same thread is later reused, thereby denying service to legitimate users.

Affected Systems

Applications that depend on msgpack-java version 0.9.12 or earlier are vulnerable. The library is a Java dependency used for serializing and deserializing structured data and is widely integrated into Java-based services that consume MessagePack payloads.

Risk and Exploitability

The CVSS score of 6.9 signals a moderate impact. No EPSS value is available, and the vulnerability is not listed in the CISA KEV catalog, indicating no known production exploits yet to any endpoint that accepts external MessagePack input. No privileged access or code execution is required; simply delivering a the stack overflow and produce a denial-of-service condition.

Generated by OpenCVE AI on September 13, 2026 at 02:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade msgpack-java to version 0.9.13 or later, which implements a nesting depth limit to prevent stack exhaustion.
  • If an upgrade is not feasible, add a pre-deserialization validation layer that rejects payloads containing more than a safe nesting depth or a size above a configured threshold.
  • Apply rate limiting or a circuit breaker to the deserialization endpoint to protect the application from repeated malformed inputs and to conserve thread stack resources.

Generated by OpenCVE AI on September 13, 2026 at 02:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title msgpack-java through 0.9.12 Stack Overflow via Nested Arrays
First Time appeared Msgpack
Msgpack messagepack
Weaknesses CWE-674
CPEs cpe:2.3:a:msgpack:messagepack:*:*:*:*:*:java:*:*
Vendors & Products Msgpack
Msgpack messagepack
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Msgpack Messagepack
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-12T11:06:11.553Z

Reserved: 2026-09-12T02:03:23.163Z

Link: CVE-2026-90472

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-12T11:16:34.180

Modified: 2026-09-12T11:16:34.180

Link: CVE-2026-90472

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T02:15:17Z

Weaknesses