PT-2026-79110 · Msgpack-C · Msgpack-C

·

CVE-2026-72854

·

Published

2026-08-20

·

Updated

2026-09-06

CVSS v4.0

5.8

Medium

VectorAV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions msgpack-c (affected versions not specified)
Description An integer overflow occurs in the msgpack unpacker expand buffer function within src/unpack.c, which is accessible via the msgpack unpacker reserve buffer API. The function calculates the new buffer size using an unchecked size t addition of the requested size and the amount already used. When a request near SIZE MAX is made, the addition wraps, causing the loop condition to be satisfied prematurely. Consequently, the allocation is performed at a small pre-wrap size, but the function returns a success status. This leads the caller to believe the requested capacity was reserved, resulting in a heap buffer overflow during subsequent write operations. This issue can be triggered in integrations that pass attacker-influenced lengths to the reservation API, such as length-prefixed streaming transports.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-97458
AZL-97512
AZL-97515
CVE-2026-72854
OPENSUSE-SU-2026:11672-1
OPENSUSE-SU-2026:21768-1

Affected Products

Msgpack-C