5.3Medium

CVE-2026-130065msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate

msgpack msgpack-c Published: (2 days ago)

Description

msgpack-c through 7.0.2 contains a heap buffer overflow vulnerability in msgpack_vrefbuffer_migrate() in src/vrefbuffer.c that checks capacity against the source array's end pointer. When migrating between vrefbuffers of unequal size, the realloc is skipped and memcpy() writes iovec entries past the destination array, corrupting adjacent heap memory or crashing the application.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
msgpack msgpack-c ≤ 7.0.2

References and patches