Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-21452

Type: advisorySource: OSV1 source record

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,

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-21452

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-21452

msgpack-java

Source reference: /affected/0/package/name

Affected versions
0.9.3-1

Source reference: /affected/0/versions

0.9.4-1

Source reference: /affected/0/versions

0.9.5-1

Source reference: /affected/0/versions

0.9.6-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

msgpack-java

Source reference: /affected/1/package/name

Affected versions
0.9.6-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

msgpack-java

Source reference: /affected/2/package/name

Affected versions
0.9.6-1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "msgpack-java",
      "purl": "pkg:deb/debian/msgpack-java?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.9.3-1",
      "0.9.4-1",
      "0.9.5-1",
      "0.9.6-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-21452.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "msgpack-java",
      "purl": "pkg:deb/debian/msgpack-java?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.9.6-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-21452.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "msgpack-java",
      "purl": "pkg:deb/debian/msgpack-java?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.9.6-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-21452.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56644 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement