Msgpack java: A denial-of-service vulnerability exists
Affects msgpack-javaSource GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10msgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSmsgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10msgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSmsgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSmsgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSmsgpack-javapkg:deb/ubuntu/msgpack-java?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-21452 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-21452 (opens in a new tab)
- github.com/msgpack/msgpack-java/security/advisories/GHSA-cw39-r4h6-8j3x (opens in a new tab)
- github.com/msgpack/msgpack-java/commit/daa2ea6b2f11f500e22c70a22f689f7a9debdeae (opens in a new tab)
- github.com/msgpack/msgpack-java/releases/tag/v0.9.11 (opens in a new tab)