Python pip: 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. (CVE-2026-57585)
Description
A vulnerability in the Pdm MessagePack for Python library prior to version 1.2.1 allows an out-of-bounds read and process crash when the Unpacker object is reused after an error occurs. This can lead to denial-of-service (DoS) conditions if untrusted input is repeatedly unpacked. The issue is fixed in version 1.2.1. Users should avoid reusing the same Unpacker after an error and instead create a new one to prevent crashes.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/python-pip?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/python-msgpack?arch=source&distro=bionicpkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/python-msgpack?arch=source&distro=focalpkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/python-msgpack?arch=source&distro=jammypkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/python-msgpack?arch=source&distro=noblepkg:deb/ubuntu/python-srsly?arch=source&distro=noblepkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/python-msgpack?arch=source&distro=questingpkg:deb/ubuntu/python-pip?arch=source&distro=questingpkg:deb/ubuntu/python-srsly?arch=source&distro=questingpkg:deb/ubuntu/python-msgpack?arch=source&distro=stonkingpkg:deb/ubuntu/python-pip?arch=source&distro=stonkingpkg:deb/ubuntu/python-srsly?arch=source&distro=stonkingpkg:deb/ubuntu/python-msgpack?arch=source&distro=resolutepkg:deb/ubuntu/python-srsly?arch=source&distro=resolutepkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-57585) affects the Pdm MessagePack for Python library used by python-pip. It causes an out-of-bounds read and process crash when the Unpacker object is reused after a caught error. This flaw can be triggered by repeatedly unpacking untrusted input, potentially causing a denial-of-service (DoS) attack. The issue has been addressed and fixed in version 1.2.1 of the library. Users are advised to avoid reusing the same Unpacker instance after an error and instead instantiate a new Unpacker to prevent crashes.
Potential Impact
The vulnerability can cause denial-of-service conditions by crashing the process when the Unpacker object is reused after an error. There is no indication of confidentiality or integrity impact. The CVSS score is 7.5 (medium severity) with an impact primarily on availability.
Mitigation Recommendations
A fix is available in version 1.2.1 of the Pdm MessagePack library. Users should upgrade to version 1.2.1 or later. Until upgraded, users should avoid reusing the same Unpacker object after an error and create a new Unpacker instance instead to prevent crashes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- CLEANSTART-2026-WI70284
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Alpine"]
- State
- PUBLISHED
Threat ID: 6a984546acd9273b496aafbd
Added to database: 09/02/2026, 15:48:22 UTC
Last enriched: 10/18/2026, 04:41:36 UTC
Last updated: 10/18/2026, 18:48:22 UTC
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.