CVE-2026-57585

MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error

Published Jun 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
MessagePack is the serializer implementation for Python msgpack.org. Prior to 1.2.1, there is an Out-of-bounds read/crash on Unpacker reuse after a caught error, potentially leading to a DoS attack. If the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV. This issue has been fixed in version 1.2.1.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Python implementation of MessagePack. When an Unpacker object encounters an error, a subsequent reuse of the same instance can trigger an out‑of‑bounds read that causes a segmentation fault and a crash. This is a memory safety weakness identified by CWE‑416. The result is a denial of service that affects the process executing the Unpacker.

Affected Systems

The affected product is msgpack-python. All releases before 1.2.1 are vulnerable. The fix was applied in version 1.2.1 and later releases are not affected.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an environment where untrusted data is unpacked, and the attacker must trigger an error in the Unpacker and then reuse the same instance. A successful exploitation results in a process crash that can be leveraged for a denial‑of‑service attack against the affected application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade msgpack‑python to version 1.2.1 or later
  • If an upgrade cannot be performed immediately, modify the application to avoid reusing Unpacker objects after a caught error; instead, instantiate a fresh Unpacker for each unpacking operation or reinitialize the instance after handling the error
  • Deploy monitoring to detect and alert on segmentation faults or unexpected crashes in services using msgpack, and verify that the update resolves the issue in production

Generated by OpenCVE AI on July 1, 2026 at 00:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Msgpack
Msgpack msgpack-python
Vendors & Products Msgpack
Msgpack msgpack-python
Type Values Removed Values Added
Description MessagePack is the serializer implementation for Python msgpack.org. Prior to 1.2.1, there is an Out-of-bounds read/crash on Unpacker reuse after a caught error, potentially leading to a DoS attack. If the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV. This issue has been fixed in version 1.2.1.
Title MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error
Weaknesses CWE-416
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 1, 2026, 2:54 PM
Reserved
Jun 24, 2026, 6:49 PM
Status
Analyzed
Published
Jun 30, 2026, 10:16 PM
Modified
Oct 25, 2026, 9:10 PM