Description
msgpack-java through 0.9.12 contains an integer overflow vulnerability in MessageUnpacker.skipValue() when processing MAP32 containers with large element counts. Attackers can supply a MAP32 element count at or above 0x40000000 that wraps when doubled, causing the parser cursor to desynchronize and attacker-controlled data to be returned in place of later fields.
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 #1014 issue-tracking
- MessageUnpacker.skipValue() ARRAY32/MAP32 length handling at v0.9.12 technical-description
- https://github.com/msgpack/msgpack-java product
- VulnCheck Advisory: msgpack-java through 0.9.12 Integer Overflow via MAP32 third-party-advisory