{"id":"CVE-2026-57585","aliases":["CVE-2026-57585","GHSA-6v7p-g79w-8964","PYSEC-2026-3625"],"related":[],"kind":"vulnerability","state":"published","title":"MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","format":"markdown","source":"ghsa"},{"lang":"es","text":"MessagePack es la implementación del serializador para Python msgpack.org. Antes de la versión 1.2.1, existe una lectura fuera de límites/un fallo al reutilizar el Unpacker después de un error capturado, lo que podría conducir a un ataque DoS. Si el Unpacker se utiliza repetidamente después de que ocurra un error, el proceso podría fallar con un SEGV. Este problema ha sido solucionado en la versión 1.2.1.","source":"nvd"}],"published":"2026-06-19T21:42:55.000Z","modified":"2026-10-25T21:10:00.770Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"< 1.2.1","status":"affected"}],"vendor":"msgpack","product":"msgpack-python","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"msgpack","purl":"pkg:pypi/msgpack","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.1"}],"vendor":"msgpack","product":"messagepack","cpe":"cpe:2.3:a:msgpack:messagepack:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"msgpack","purl":"pkg:pypi/msgpack","source":"pysec"}],"references":[{"url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/msgpack/msgpack-python","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-01T14:54:21.105Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57585","url":"https://www.cve.org/CVERecord?id=CVE-2026-57585","licence":"CVE Terms of Use","modified":"2026-07-01T14:54:36.191Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6v7p-g79w-8964","url":"https://github.com/advisories/GHSA-6v7p-g79w-8964","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:07.975Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57585","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3625","url":"https://osv.dev/vulnerability/PYSEC-2026-3625","licence":"CC-BY-4.0","modified":"2026-08-07T09:45:09.966Z"}],"updatedAt":"2026-11-25T22:59:26.735Z","epss":{"score":0.00279,"percentile":0.21813,"date":"2026-12-01T12:00:22.000Z"}}