Read the docs
TI-2026-17336 Aliases CVE-2026-21452GHSA-cw39-r4h6-8j3x

Uncontrolled resource consumption in msgpack-java

Priority HIGH 72CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00602 49th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed msgpack-java (msgpack): 0.9.11org.msgpack:msgpack-core (Maven): 0.9.11

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
msgpackmsgpack-javabefore 0.9.110.9.11Patch availableCNA
—org.msgpack:msgpack-core (Maven)before 0.9.110.9.11Patch availableGHSA-cw39-r4h6-8j3x
  • msgpack-java Vendormsgpack Affected before 0.9.11 Fixed in 0.9.11 Patch available CNA
  • org.msgpack:msgpack-core (Maven) Vendor— Affected before 0.9.11 Fixed in 0.9.11 Patch available GHSA-cw39-r4h6-8j3x

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:msgpack:messagepack:0.9.10:*:*:*:*:java:*:*0.9.10Vulnerablemsgpack
  • cpe:2.3:a:msgpack:messagepack:0.9.10:*:*:*:*:java:*:* Versions 0.9.10 Vulnerable ·msgpack

Remediation

  • Fix · CNA msgpack-java (msgpack) Fixed in 0.9.11
  • Fix · GHSA-cw39-r4h6-8j3x org.msgpack:msgpack-core (Maven) Fixed in 0.9.11 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-21452
  2. 2026-10-03 Alias added: GHSA-cw39-r4h6-8j3x

References

  • TI-2026-39368 MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure CVSS 4.0LOW 2.1
  • TI-2026-41435 MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error CVSS 3.1HIGH 7.5

Sources