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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| msgpack | msgpack-java | ≤ 0.9.12 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | msgpack-java | No fix yet | — |
| Debian 13 | msgpack-java | No fix yet | — |
| Debian 12 | msgpack-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | msgpack-java | No fix yet | — |
| Ubuntu 26.04 LTS | msgpack-java | No fix yet | — |
| Ubuntu 24.04 LTS | msgpack-java | No fix yet | — |
| Ubuntu 22.04 LTS | msgpack-java | No fix yet | — |
| Ubuntu 20.04 LTS | msgpack-java | No fix yet | — |
References
- GitHub Issue #1015 issue-tracking
- MessageUnpacker.unpackValue() ARRAY and MAP recursion at v0.9.12 technical-description
- https://github.com/msgpack/msgpack-java product
- VulnCheck Advisory: msgpack-java through 0.9.12 Stack Overflow via Nested Arrays third-party-advisory