Security Resilience

CVE-2026-21452

DoS in Msgpack Messagepack 0.9.10

Public PoCDoS
Published
02 January 2026
Modified
05 February 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0087 56th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-21452 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Msgpack Messagepack. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-21452 is a denial-of-service vulnerability in MessagePack for Java, a serializer implementation for Java, affecting versions prior to 0.9.11. The issue arises during deserialization of .msgpack files containing EXT32 objects with attacker-controlled payload lengths. Although MessagePack-Java parses extension headers lazily, it trusts the declared EXT payload length when materializing the extension data via ExtensionValue.getData(), attempting to allocate a byte array of that size without any upper bound enforcement. A malicious .msgpack file of only a few bytes can thus trigger unbounded heap allocation, leading to JVM heap exhaustion, excessive garbage collection, process termination, or an OutOfMemoryError. This constitutes a model format vulnerability triggered specifically during model loading or deserialization.

The vulnerability enables remote denial-of-service attacks against any application that deserializes untrusted .msgpack model files using the affected library. Attackers require no user interaction, elevated privileges, or malformed bytes; a syntactically valid, extremely small .msgpack file with an excessively large declared EXT32 payload length suffices. Exploitation is feasible remotely in environments such as model registries, inference services, CI/CD pipelines, and cloud-based model hosting platforms that accept or fetch .msgpack artifacts. Successful attacks result in complete service unavailability and potential cascading failures in production systems, with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), mapped to CWEs 400 (Uncontrolled Resource Consumption) and 789 (Memory Allocation with Excessive Size Value).

The MessagePack for Java security advisory (GHSA-cw39-r4h6-8j3x) and release notes for version 0.9.11 detail the fix, implemented via commit daa2ea6b2f11f500e22c70a22f689f7a9debdeae, which addresses the unbounded allocation by enforcing limits on extension payload lengths during deserialization. Security practitioners should upgrade to version 0.9.11 or later and validate or scan .msgpack inputs for excessive extension declarations.

This vulnerability holds particular relevance for AI/ML workflows due to its exploitation vector in model loading pipelines, where untrusted serialized models are common, though no public reports of real-world exploitation exist as of the CVE publication on 2026-01-02.

EU & UK References

Vulnerability Data

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…

more

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(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-57585Same product: Msgpack Messagepack
CVE-2026-55781Shared CWE-400, CWE-789
CVE-2026-108359Shared CWE-400, CWE-789
CVE-2026-14684Shared CWE-400, CWE-789
CVE-2026-55782Shared CWE-400, CWE-789
CVE-2026-14683Shared CWE-400, CWE-789
CVE-2025-61600Shared CWE-400, CWE-789
CVE-2026-115907Shared CWE-400, CWE-789
CVE-2025-53893Shared CWE-400, CWE-789
CVE-2026-40303Shared CWE-400, CWE-789

Affected Assets

msgpack
messagepack
0.9.10

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Input validation directly rejects or bounds untrusted size values before any allocation occurs.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent coding flaws that trust unvalidated size values for allocations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

Security testing in development can detect and block excessive allocation flaws before deployment.

prevents

Training technical teams on secure coding practices (the education/training portion of A.6.3) can reduce instances of unchecked memory allocation by raising developer awareness of input validation for size values, but the effect is a minority one — the same human-practice ceiling that caps A.8.28 on CWE-502 and CWE-79, and that graded A.6.3 partial on CWE-598.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

Secure coding standards directly prohibit allocating memory from untrusted size values without validation.

prevents

A.8.30 carries its preventive effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation defects like CWE-789 in delivered code the way those practices do, at `partial` -- the clause's ceiling on this verb.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References