Read the docs

Memory leak in MessagePack C extension when map key validation fails

Priority MEDIUM 40CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 14 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-401.

Summary

MessagePack for Python (msgpack) from 0 before 1.2.3 has a flaw in its C extension, where a decoded map value is leaked when deserialization rejects a key under strict_map_key=True, the default. An unauthenticated remote attacker can send repeated malformed input to applications that deserialize untrusted MessagePack data, causing unbounded memory growth and denial of service (CWE-401). Both unpackb() and the streaming Unpacker API are affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00543 45th percentileScored 2026-11-07
Fix Partial msgpack-python (msgpack): 1.2.3msgpack (PyPI): 1.2.3Red Hat: 14 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
msgpackmsgpack-pythonbefore 1.2.31.2.3Patch availableCNA
—msgpack (PyPI)before 1.2.31.2.3Patch availableGHSA-j586-36cw-2gc2
  • msgpack-python Vendormsgpack Affected before 1.2.3 Fixed in 1.2.3 Patch available CNA
  • msgpack (PyPI) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-j586-36cw-2gc2

Remediation

Upgrade the msgpack package on PyPI to version 1.2.3. The sources list no fixed version for msgpack-python. Red Hat lists no available plan for Red Hat Enterprise Linux 10, Red Hat OpenShift Container Platform 4, Red Hat OpenShift AI (RHOAI), Red Hat Satellite 6, Red Hat Quay 3, and other products.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

  • Fix · CNA msgpack-python (msgpack) Fixed in 1.2.3
  • Fix · GHSA-j586-36cw-2gc2 msgpack (PyPI) Fixed in 1.2.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Lightspeed Services for Advanced Cluster ManagementAffectedNo fix yet
Pen Drive Powered by Red Hat LightspeedAffectedNo fix yet
Red Hat AI Inference ServerAffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat Lightspeed Services for OCPAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenStack Platform 16.2AffectedNo fix yet
Red Hat OpenStack Platform 17.1AffectedNo fix yet
Red Hat OpenStack Platform 18.0AffectedNo fix yet
Red Hat Quay 3AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet
Not affected: 5 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift AI (RHOAI)

Timeline

  1. 2026-10-22 Threatist record created from CVE-2026-114613
  2. 2026-10-23 Affected versions changed · Red Hat
  3. 2026-10-23 CVSS score added · Red Hat
  4. 2026-10-23 Priority changed: MEDIUM → LOW
  5. 2026-10-24 CISA SSVC decision points changed
  6. 2026-10-24 Affected versions changed · Red Hat
  7. 2026-10-27 Alias added: GHSA-j586-36cw-2gc2
  8. 2026-10-31 Priority changed: LOW → MEDIUM
  9. 2026-11-02 Affected versions changed · Red Hat

References

  • TI-2026-17336 Uncontrolled resource consumption in msgpack-java CVSS 3.1HIGH 7.5
  • TI-2026-61499 msgpack-java through 0.9.12 Stack Overflow via Nested Arrays CVSS 4.0MEDIUM 6.9
  • TI-2026-51079 msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation CVSS 4.0MEDIUM 5.8
  • TI-2026-39368 MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure CVSS 4.0LOW 2.1
  • TI-2026-41435 MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error CVSS 3.1HIGH 7.5
  • TI-2026-61500 msgpack-java through 0.9.12 Integer Overflow via MAP32 CVSS 4.0MEDIUM 6.9

Sources