Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2026-0750
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
CVEs Like This One
Affected Assets
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.
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.
Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.
Security testing in development can detect and block excessive allocation flaws before deployment.
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.
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.
Secure coding standards directly prohibit allocating memory from untrusted size values without validation.
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.