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.
Published: 2026-10-22
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service due to memory leak in deserialization
Action: Patch Immediately
AI Analysis

Impact

The vulnerability is a memory leak in the msgpack-python C extension that occurs when deserialization rejects a key with strict_map_key=True. The leak persists until the process exits, allowing attacker-controlled MessagePack data to cause unbounded growth of the process’s memory footprint and eventually trigger a denial of service. This flaw is a classic unbounded memory allocation vulnerability governed by CWE-401 and CWE-772.

Affected Systems

All installations of the msgpack-python library prior to version 1.2.3 are affected. The bug afflicts both the unpackb() function and the streaming Unpacker API; the pure‑Python fallback path does not exhibit the leak in the supplied tests. The environment is the Python runtime, and affected systems are those running the vulnerable library within any Python application that processes MessagePack payloads.

Risk and Exploitability

The CVSS score of 7.5 marks a high severity. Because the EPSS score is unavailable and the vulnerability is not currently listed in CISA’s KEV catalog, the existing exploitation probability is unclear, but the impact remains significant. Attack occurs by transmitting malformed MessagePack data that triggers a strict_map_key validation failure; the body of the attack can be supplied over any interface that accepts external MessagePack input, so remote exploitation is plausible in exposed services.

Generated by OpenCVE AI on October 23, 2026 at 13:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade msgpack-python to version 1.2.3 or later.
  • If upgrading is delayed, disable the C extension or force the use of the pure‑Python fallback to avoid the memory leak.
  • Review application code to ensure that only trusted data is passed to unpackb() or the Unpacker API, and implement input validation or sanitization before deserialization.

Generated by OpenCVE AI on October 23, 2026 at 13:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j586-36cw-2gc2 MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure
History

Fri, 23 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

threat_severity

Important


Fri, 23 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Msgpack
Msgpack msgpack-python
Vendors & Products Msgpack
Msgpack msgpack-python

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure
Weaknesses CWE-401
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Msgpack Msgpack-python
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T21:08:06.271Z

Reserved: 2026-10-21T20:34:25.599Z

Link: CVE-2026-114613

cve-icon Vulnrichment

Updated: 2026-10-23T17:32:59.556Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-22T19:17:37.733

Modified: 2026-10-23T21:17:21.823

Link: CVE-2026-114613

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-22T18:22:40Z

Links: CVE-2026-114613 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:30:07Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime