{"answers":{"affected":"3 open source packages ship an affected version, including msgpack. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-57585 in the wild and no public exploit code.","fix":"Upgrade msgpack to 1.2.1 or later.","what":"CVE-2026-57585 is a high-severity use after free vulnerability in msgpack-python, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57585 and fix it if it is affected.\n\nWhat it is: CVE-2026-57585 is a high-severity use after free vulnerability in msgpack-python, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-57585 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- msgpack (PyPI): affected all versions; fixed in 1.2.1\n- msgpack (PyPI): affected all versions; fixed in 1.2.1\n- msgpack (PyPI): affected all versions; fixed in 1.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-57585/ (Markdown: https://insights.sbomify.com/CVE-2026-57585/index.md)","id":"CVE-2026-57585","markdown":"https://insights.sbomify.com/CVE-2026-57585/index.md","name":"CVE-2026-57585","record":{"aliases":["AZL-91746","BELL-CVE-2026-57585","CLEANSTART-2026-FV21331","CLEANSTART-2026-KD93591","CLEANSTART-2026-KG31017","CLEANSTART-2026-MV63007","CLEANSTART-2026-OD76726","CLEANSTART-2026-PW41000","CLEANSTART-2026-QQ77815","CLEANSTART-2026-RR86072","CLEANSTART-2026-TI03982","CLEANSTART-2026-VQ21617","CLEANSTART-2026-ZD80119","DEBIAN-CVE-2026-57585","ECHO-7ab8-b488-83cb","GHSA-6v7p-g79w-8964","MINI-22w8-qgg5-7m99","MINI-2wcm-q7pv-x2wq","MINI-33gp-r3jq-j7gh","MINI-c2v6-c37f-c9f9","MINI-f4vq-2r4q-qqc6","MINI-f5vw-fxrm-26jj","MINI-g4q2-f22g-6whv","MINI-hcr4-mxpq-456q","MINI-p8w6-prwj-h9vp","MINI-pg8q-mv99-jg6h","MINI-pp3q-q4gx-75q8","MINI-q6p9-xmf8-8g57","MINI-rjqq-wvvh-wv8q","MINI-v4f8-wh37-692r","MINI-vc24-2g78-grx6","MINI-vjqr-9c5m-g9g2","MINI-vr56-g93v-7crc","MINI-xjf9-244c-9px7","PYSEC-2026-3625","ROOT-APP-PYPI-GHSA-6v7p-g79w-8964","SUSE-SU-2026:22704-1","SUSE-SU-2026:23169-1","SUSE-SU-2026:3113-1","SUSE-SU-2026:3297-1","SUSE-SU-2026:3932-1","SUSE-SU-2026:4443-1","UBUNTU-CVE-2026-57585","openSUSE-SU-2026:11586-1","openSUSE-SU-2026:21239-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python msgpack library","requires_auth":"none","summary":"Attackers can cause a crash via out-of-bounds read when reusing the Unpacker after an error, leading to denial of service.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"messagepack","vendor":"msgpack"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"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.","ecosystems":["PyPI","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Public Cloud 15 SP7","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Client Tools 12","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error","id":"CVE-2026-57585","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":33,"n_references":2,"next":{"headline":"CodeRAG: Gradle Wrapper Execution During Dependency Discovery Enables Arbitrary Code Execution","id":"CVE-2026-57586"},"packages":[{"ecosystem":"PyPI","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"msgpack","purl":null,"source":"GHSA-6v7p-g79w-8964"},{"ecosystem":"PyPI","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"msgpack","purl":"pkg:pypi/msgpack","source":"GHSA-6v7p-g79w-8964"},{"ecosystem":"PyPI","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"msgpack","purl":"pkg:pypi/msgpack","source":"PYSEC-2026-3625"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP7","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP7","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["1.0.7-150600.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:4443-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["1.0.7-150600.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:4443-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.0.7-150400.10.9.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:3932-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["0.5.6-150100.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:3113-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["1.0.7-150600.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:4443-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["1.0.5-2.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:22704-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["1.0.5-slfo.1.1_2.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/suse/python-msgpack\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:23169-1"},{"ecosystem":"SUSE:Manager Client Tools 12","fixed":["0.4.6-8.8.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack-python","purl":"pkg:rpm/suse/python-msgpack-python\u0026distro=SUSE%20Manager%20Client%20Tools%2012","source":"SUSE-SU-2026:3297-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.1.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/opensuse/python-msgpack\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21239-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.2.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-msgpack","purl":"pkg:rpm/opensuse/python-msgpack\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11586-1"}],"prev":{"headline":"Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS","id":"CVE-2026-57584"},"products":["msgpack-python"],"published":"2026-06-30","related":[{"cvss_score":7.5,"headline":"MessagePack for Java Vulnerable to Remote DoS via Malicious EXT Payload Allocation","id":"CVE-2026-21452","kev_date_added":null,"published":"2026-01-02"},{"cvss_score":2.1,"headline":"MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure","id":"CVE-2026-54522","kev_date_added":null,"published":"2026-07-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-01","vendors":["msgpack"]},"summary":"Attackers can cause a crash via out-of-bounds read when reusing the Unpacker after an error, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-57585/"}