Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. msgpack
  4. ›
  5. CVE-2026-114613

CVE-2026-114613: MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure

October 27, 2026

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.

The report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.

References

  • github.com/advisories/GHSA-j586-36cw-2gc2
  • github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141
  • github.com/msgpack/msgpack-python/releases/tag/v1.2.3
  • github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2
  • nvd.nist.gov/vuln/detail/CVE-2026-114613

Code Behaviors & Features

Detect and mitigate CVE-2026-114613 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.3

Fixed versions

  • 1.2.3

Solution

Upgrade to version 1.2.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime
  • CWE-416: Use After Free

Source file

pypi/msgpack/CVE-2026-114613.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.