Home / msgpack / msgpack-java / CVE-2026-21452
CVE-2026-21452: is it exploited, and which versions of msgpack-java are affected and fixed?
CVE-2026-21452 is a denial of service (uncontrolled resource consumption) vulnerability in msgpack-java. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.msgpack:msgpack-core before 0.9.11 (GitHub advisory GHSA-cw39-r4h6-8j3x). Fixed in 0.9.11 (GitHub advisory GHSA-cw39-r4h6-8j3x). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2026-21452?
MessagePack-Java Vulnerable to Remote Denial of Service via Malicious .msgpack Model File Triggering Unbounded EXT Payload Allocation
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.
From the CVE record by GitHub_M, last updated January 2, 2026, 21:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| msgpack | msgpack-java | < 0.9.11 |
As the CVE record by GitHub_M states it, last updated January 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.msgpack:msgpack-core | < 0.9.11 | 0.9.11 | GHSA-cw39-r4h6-8j3x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 5, 2026. Summary: MessagePack for Java Vulnerable to Remote DoS via Malicious EXT Payload Allocation.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| msgpack | messagepack | 0.9.10 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:18 UTC.
How severe is CVE-2026-21452?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-21452 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, January 2, 2026)
- EPSS
- 0.65% probability of exploitation activity in the next 30 days, percentile 52.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/msgpack/msgpack-java/security/advisories/GHSA-cw39-r4h6-8j3x x_refsource_CONFIRM
- https://github.com/msgpack/msgpack-java/commit/daa2ea6b2f11f500e22c70a22f689f7a9debdeae x_refsource_MISC
- https://github.com/msgpack/msgpack-java/releases/tag/v0.9.11 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 29, 2025
- Published
- January 2, 2026, 20:47 UTC
- CVE record updated
- January 2, 2026, 21:22 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:18 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect msgpack-java?
- Sep 12, 2026CVE-2026-90473 msgpack-java: integer overflow
- Sep 12, 2026CVE-2026-90472 msgpack-java: uncontrolled recursion
Questions about CVE-2026-21452
Is CVE-2026-21452 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of msgpack-java are affected by CVE-2026-21452?
org.msgpack:msgpack-core before 0.9.11, per the GitHub advisory GHSA-cw39-r4h6-8j3x. The tables above give every range the sources list.
Which version fixes CVE-2026-21452?
0.9.11, per the GitHub advisory GHSA-cw39-r4h6-8j3x. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-21452?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-21452?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.