{"id":"CVE-2026-114613","published":"2026-10-22T18:22:40Z","modified":"2026-10-23T21:08:06Z","title":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","vendor":"msgpack","product":"msgpack-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00543,"percentile":0.4651,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141","tags":["x_refsource_MISC"]},{"url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"msgpack","affectedVersions":[{"vendor":"msgpack","product":"msgpack-python","versions":["< 1.2.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-23T17:32:58.847580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"msgpack","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"from":["GHSA-j586-36cw-2gc2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-108280","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-msgpack-python-cve-2026-57585","parents":[{"from":"CVE-2026-57585","to":"CVE-2026-114613","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:msgpack","fromFixed":"1.2.1","toFixed":"1.2.3","daysApart":114},{"kind":"same-code","provenance":"machine","files":["msgpack/_unpacker.pyx","msgpack/unpack_template.h"],"commits":["https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141","https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"],"basis":"shared function","functions":["Unpacker","unpack_execute","unpackb"]}]}],"packageHistory":[{"cve":"CVE-2026-57585","published":"2026-06-30","fixed":"1.2.1","kev":false},{"cve":"CVE-2026-114613","published":"2026-10-22","fixed":"1.2.3","kev":false}],"package":"PyPI:msgpack"}}