CVE-2026-130065 PUBLISHED

msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate

Assigner: VulnCheck
Reserved: 16.11.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
CVSS Score: 5.8

Product Status

Vendor msgpack
Product msgpack-c
Versions Default: unaffected
  • affected from 0 to 7.0.2 (incl.)

Credits

  • AmirWilayah (ADGepuk) finder

References

Problem Types

  • Out-of-bounds Write CWE