<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:msgpack:msgpack:*:*:*:*:*:python:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3amsgpackmsgpackpython/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 27 Oct 2026 17:57:55 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3amsgpackmsgpackpython/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>msgpack-python: Memory leak and use-after-free vulnerability (CVE-2026-114613)</title><link>https://feed.craftedsignal.io/briefs/2026-10-msgpack-memory-leak/</link><pubDate>Tue, 27 Oct 2026 17:57:55 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-msgpack-memory-leak/</guid><description>The msgpack-python C extension contains a memory leak and a reference count corruption vulnerability triggered during deserialization of malformed data, enabling denial of service and potential memory safety issues.</description><content:encoded><![CDATA[<p>The msgpack-python C extension (<code>msgpack._cmsgpack</code>) is vulnerable to an unbounded memory leak when deserializing MessagePack data that fails <code>strict_map_key</code> validation. The vulnerability occurs because the C extension fails to release references to constructed map values when a key is rejected. This can be exploited to cause a denial of service via memory exhaustion.</p>
<p>Additionally, an audit identified a use-after-free condition in the streaming <code>Unpacker</code> API. Stale references to objects in the parser stack can lead to incorrect reference count decrements (double <code>Py_DECREF</code>) if parsing fails after a nested container is processed. This can result in application crashes or memory corruption. Both vulnerabilities are tracked under CVE-2026-114613.</p>
<h2 id="impact">Impact</h2>
<ul>
<li><strong>Memory Leak:</strong> Observed retention of approximately 4 MiB of memory per failed parse, leading to rapid process memory growth and potential service instability.</li>
<li><strong>Memory Safety:</strong> The reference count corruption in the streaming API may lead to unpredictable application behavior, crashes, or use-after-free vulnerabilities.</li>
</ul>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>msgpack</code> to version 1.2.3 or later immediately to address the memory leak and reference count corruption.</li>
<li>If immediate patching is not possible, evaluate the use of the pure-Python implementation of <code>msgpack</code>, which is reported not to exhibit this specific leak, though it may have performance implications.</li>
<li>Implement strict request-size and request-rate limiting at the application or WAF level for endpoints that accept MessagePack data to mitigate the impact of malicious inputs on memory utilization.</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category></item></channel></rss>