CVE-2026-21452
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Jan 2, 2026
CISA due date
—
The record
MessagePack for Java is a serializer implementation for Java. A denial-of-service vulnerability exists in versions prior to 0.9.11 when deserializing .msgpack files containing EXT32 objects with attacker-controlled payload lengths. While MessagePack-Java parses extension headers lazily, it later trusts the declared EXT payload length when materializing the extension data. When ExtensionValue.getData() is invoked, the library attempts to allocate a byte array of the declared length without enforcing any upper bound. A malicious .msgpack file of only a few bytes can therefore trigger unbounded heap allocation, resulting in JVM heap exhaustion, process termination, or service unavailability. This vulnerability is triggered during model loading / deserialization, making it a model format vulnerability suitable for remote exploitation. The vulnerability enables a remote denial-of-service attack against applications that deserialize untrusted .msgpack model files using MessagePack for Java. A specially crafted but syntactically valid .msgpack file containing an EXT32 object with an attacker-controlled, excessively large payload length can trigger unbounded memory allocation during deserialization. When the model file is loaded, the library trusts the declared length metadata and attempts to allocate a byte array of that size, leading to rapid heap exhaustion, excessive garbage collection, or immediate JVM termination with an OutOfMemoryError. The attack requires no malformed bytes, user interaction, or elevated privileges and can be exploited remotely in real-world environments such as model registries, inference services, CI/CD pipelines, and cloud-based model hosting platforms that accept or fetch .msgpack artifacts. Because the malicious file is extremely small yet valid, it can bypass basic validation and scanning mechanisms, resulting in complete service unavailability and potential cascading failures in production systems. Version 0.9.11 fixes the vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.msgpack:msgpack-core | 0 | 0.9.11 |
| Chainguard | camunda-8.8 | 0 | 8.8.9-r0 |
| Chainguard | camunda-8.8-compat | 0 | 8.8.8-r0 |
| Chainguard | camunda-zeebe-8.3 | 0 | 8.3.22-r12 |
| Chainguard | camunda-zeebe-8.3-compat | 0 | 8.3.22-r12 |
| Chainguard | camunda-zeebe-8.4 | 0 | 8.4.21-r11 |
| Chainguard | camunda-zeebe-8.4-compat | 0 | 8.4.21-r11 |
| Chainguard | camunda-zeebe-8.5 | 0 | 8.5.25-r4 |
| Chainguard | camunda-zeebe-8.5-compat | 0 | 8.5.25-r4 |
| Chainguard | camunda-zeebe-8.6 | 0 | 8.6.35-r1 |
| Chainguard | camunda-zeebe-8.6-compat | 0 | 8.6.34-r2 |
| Chainguard | camunda-zeebe-8.6-compat | 0 | 8.6.35-r1 |
| Chainguard | camunda-zeebe-8.7 | 0 | 8.7.22-r1 |
| Chainguard | camunda-zeebe-8.7-compat | 0 | 8.7.21-r2 |
| Chainguard | camunda-zeebe-8.8 | 0 | 8.8.8-r3 |
| Chainguard | camunda-zeebe-8.8 | 0 | 8.8.9-r1 |
| Chainguard | camunda-zeebe-8.8-compat | 0 | 8.8.8-r3 |
Related vulnerabilities
- GHSA-cw39-r4h6-8j3x MessagePack for Java Vulnerable to Remote DoS via Malicious EXT Payload Allocation Same vulnerability
- CVE-2025-37731 Improper Authentication in Elasticsearch PKI realm can lead to user impersonation via… Also affects camunda-8.8-compat
- CVE-2025-68161 Apache Log4j does not verify the TLS hostname in its Socket Appender Also affects camunda-zeebe-8.3
- CVE-2025-67735 Netty has a CRLF Injection vulnerability in io.netty.handler.codec.http.HttpRequestEncoder Also affects camunda-zeebe-8.3
- CVE-2025-8916 Allocation of Resources Without Limits or Throttling vulnerability in Legion of the… Also affects camunda-zeebe-8.3
- CVE-2025-22227 In some specific scenarios with chained redirects, Reactor Netty HTTP client leaks… Also affects camunda-zeebe-8.3
- CVE-2025-48924 Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs Also affects camunda-zeebe-8.3
- CVE-2025-41249 The Spring Framework annotation detection mechanism may not correctly resolve annotations… Also affects camunda-zeebe-8.3-compat