Skip to content
Heist/ feed
High

MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure

Type: advisorySource: Official CVE List1 source record

MessagePack is the serializer implementation for Python msgpack.org. Prior to 1.2.3, the msgpack-python C extension (msgpack._cmsgpack) leaks a decoded map value when deserialization rejects a key with strict_map_key=True (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both unpackb() and the streaming Unpacker API are affected. The pure-Python fallback does not exhibit this leak in the reported tests. This issue is fixed in version 1.2.3.

Announced Source revision 1
Original source ↗

CVE-2026-114613

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: cve:CVE-2026-114613

msgpack-python

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
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.

[
  {
    "vendor": "msgpack",
    "product": "msgpack-python",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.2.3"
      }
    ]
  }
]
Related CVEs
CVE-2026-114613

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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