Integer Overflow Vulnerability in msgpack-c Library by MsgPack
CVE-2026-72854

5.8MEDIUM

Key Information:

Vendor

Msgpack

Status
Vendor
CVE Published:
20 August 2026

What is CVE-2026-72854?

An integer overflow vulnerability exists in the msgpack-c library's msgpack_unpacker_expand_buffer function, as it improperly computes the required buffer size without verifying its inputs. This flaw can lead to a false success during buffer reservation, allowing an attacker to cause a heap buffer overflow when writing data. The vulnerability arises particularly in situations where user-influenced lengths are passed to the reservation API, which may be exploited in integrated systems that utilize this library.

Affected Version(s)

msgpack-c 0 <= 7.0.1

References

CVSS V4

Score:
5.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mtholmquist
.