WaratekVRT Sign in

CVE-2026-21452 msgpack MessagePack

Affected softwaremsgpack MessagePack
Severity7.5 High CVSS 3.1
Fixed in0.9.11
WeaknessUncontrolled resource consumption (CWE-400)
Published2 Jan 2026
Updated17 Jun 2026

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.

CWE-789

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.60% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a deserialization vulnerability. Matched by description (CWE-400, CWE-789 were assigned, but none settles the class on its own).
Candidate fix https://github.com/msgpack/msgpack-java/commit/daa2ea6b2f11f500e22c70a22f689f7a9debdeae : a commit: the change itself

How to mitigate CVE-2026-21452

Upgrade msgpack MessagePack to 0.9.11 or later. Until you can, Waratek RASP blocks exploitation with its deserialization rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle GoldenGate / Security (MessagePack) (26.1.0.0.0)
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Communications / Configuration (MessagePack) (25.1.200)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Configuration (MessagePack) 25.1.200 25.1.200
Oracle GoldenGate Security (MessagePack) 26.1.0.0.0 26.1.0.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.msgpack:msgpack-core 0 0.9.11 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd msgpack messagepack generic 0.9.10
osv org.msgpack msgpack-core generic < 0.9.11

References

URLTags
https://github.com/msgpack/msgpack-java/commit/daa2ea6b2f11f500e22c70a22f689f7a9debdeae commit
https://github.com/msgpack/msgpack-java/security/advisories/GHSA-cw39-r4h6-8j3x WEB
https://github.com/msgpack/msgpack-java PACKAGE
https://github.com/msgpack/msgpack-java/releases/tag/v0.9.11 WEB

Timeline

Published2026-01-02By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.