CVE-2026-130065
msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-787 |
| Vendor | msgpack |
| Product | msgpack-c |
| Published | Nov 16, 2026 |
| Last Updated | Nov 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for msgpack msgpack-c
Be the first to know when new medium vulnerabilities affecting msgpack msgpack-c are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
Affected Versions
msgpack / msgpack-c
0 โค 7.0.2
References
github.com: https://github.com/msgpack/msgpack-c/issues/1197 github.com: https://github.com/msgpack/msgpack-c/blob/c-7.0.2/src/vrefbuffer.c#L177-L224 github.com: https://github.com/msgpack/msgpack-c/commit/1c47ce020a019a3d4246e6394176779ecdf9d502 vulncheck.com: https://www.vulncheck.com/advisories/msgpack-c-through-7.0.2-heap-buffer-overflow-via-msgpack-vrefbuffer-migrate
Credits
AmirWilayah (ADGepuk)