PT-2026-108057 · Pypi · Msgpack5
CVE-2026-107297
·
Published
2026-10-08
·
Updated
2026-10-08
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
msgpack5 versions prior to 6.1.0
Description
The streaming decoder reparses incomplete arrays or maps from the beginning every time a new chunk of data arrives. A remote peer can exploit this by splitting a single valid MessagePack container across numerous small chunks, which forces the system to decode completed elements repeatedly. This results in quadratic CPU usage and blocks the event loop, leading to a denial of service.
Recommendations
Update to version 6.1.0.
Buffer each complete MessagePack value before decoding it.
Limit the number of chunks accepted for a single value.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Msgpack5