CVE-2026-57585: MessagePack for Python · Out-of-bounds read / crash on Unpacker reuse after a caught error
Affects locustSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.44.4 soon.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.44.4, 1.2.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade locust to 2.44.4; msgpack to 1.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlocustpkg:brew/locustOther threats | Affected
| Fixed in
|
PyPImsgpackpkg:pypi/msgpackOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patch by upgrading to MessagePack for Python version 2.44.4 or later. Additionally, do not reuse the same Unpacker instance after an error occurs; instead, discard the current Stream and Streaming Unpacker and create new ones. This approach prevents crashes and ensures correct unpacking behavior. The patch prevents crashes from incorrect usage but does not eliminate the need to discard the Unpacker after errors.
Description
A vulnerability in MessagePack for Python's Unpacker component can cause a process crash (segmentation fault) if the Unpacker is reused after an error occurs. This can lead to denial of service (DoS) when unpacking untrusted input repeatedly. The issue is fixed in version 2.44.4. Users should avoid reusing the same Unpacker after an error and instead create a new one to prevent crashes and ensure correct data processing.
References
- github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964 (opens in a new tab)
- github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d (opens in a new tab)
- github.com/msgpack/msgpack-python (opens in a new tab)
- github.com/msgpack/msgpack-python/releases/tag/v1.2.1 (opens in a new tab)