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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-674 — Uncontrolled Recursion
Affected products
| Vendor | Product | Versions |
|---|---|---|
| msgpack | msgpack-java | 0 to <=0.9.12 |
References
- https://github.com/msgpack/msgpack-java/issues/1015 (issue-tracking)
- https://github.com/msgpack/msgpack-java/blob/v0.9.12/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java#L646-L664 (technical-description)
- https://github.com/msgpack/msgpack-java (product)
- https://www.vulncheck.com/advisories/msgpack-java-through-0.9.12-stack-overflow-via-nested-arrays (third-party-advisory)
Generated from the official CVE List on 13 Sep 2026 07:02 UTC.