Heap Buffer Overflow in Msgpack-c Affects Applications Using Version 7.0.2
CVE-2026-130065

5.8MEDIUM

Key Information:

Vendor

Msgpack

Status
Vendor
CVE Published:
16 November 2026

What is CVE-2026-130065?

Msgpack-c versions up to 7.0.2 are susceptible to a heap buffer overflow vulnerability within the function msgpack_vrefbuffer_migrate(). This issue arises due to an improper capacity check against the end pointer of the source array. During the migration of vrefbuffers that are of unequal sizes, the critical realloc operation is bypassed. Consequently, the memcpy() function can write additional iovec entries past the bounds of the destination array, leading to potential corruption of adjacent memory on the heap. This vulnerability can cause unpredictable behavior, including application crashes.

Affected Version(s)

msgpack-c 0 <= 7.0.2

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

AmirWilayah (ADGepuk)
.