
CVE catalog
CVE-2026-21452
msgpack-java: CVE-2026-21452
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.60% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | msgpack-java | sid | 0.9.6-1 | vulnerable |
| Debian | msgpack-java | forky | 0.9.6-1 | vulnerable |
| Debian | msgpack-java | trixie | 0.9.6-1 | vulnerable |
| Debian | msgpack-java | bookworm | 0.9.3-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | msgpack-java | source | sid | (unfixed) | not yet assigned | Not reported | [1124587] |
| Debian | msgpack-java | source | forky | (unfixed) | not yet assigned | Not reported | [1124587] |
| Debian | msgpack-java | source | trixie | (unfixed) | not yet assigned | Not reported | [1124587] |
| Debian | msgpack-java | source | bookworm | (unfixed) | not yet assigned | Not reported | [1124587] |
Notes
[trixie] msgpack-java: Minor issue [bookworm] msgpack-java: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmsgpack-java]Affected
Source package: [msgpack-java]
Details (2)
0.9.3-1· all · bookwormAffected
dsa · msgpack-java · debian · bookworm; dsa · msgpack-java · debian · 12
0.9.3-1· all · bookwormAffected
dsa · msgpack-java · debian · bookworm; dsa · msgpack-java · debian · 12
[Debian 13 (Trixie)]
- [libmsgpack-java]Affected
Source package: [msgpack-java]
Details (2)
0.9.6-1· all · trixieAffected
dsa · msgpack-java · debian · 13
0.9.6-1· all · trixieAffected
dsa · msgpack-java · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-21452]
- [https://security-tracker.debian.org/tracker/CVE-2026-21452]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1194.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]