Skip to main content
← All vulnerabilities
CVE-2026-114613EUVD-2026-108280GHSA-J586-36CW-2GC2

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The msgpack-python library's C extension, used to deserialize MessagePack data in Python applications, is affected when strict map key checking is enabled (the default). Repeatedly feeding it malformed input can make memory usage grow without limit, which can crash or stall any application that decodes untrusted data.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • msgpack msgpack-python

    fixed in 1.2.3

  • msgpackPyPI

    fixed in 1.2.3

References 3

GitHub · msgpack/msgpack-python