5.3Mittel
CVE-2026-130065msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
Beschreibung
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.
Schwachstellentyp (CWE):
CWE-787
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
Referenzen und Patches
- https://github.com/msgpack/msgpack-c/issues/1197 issue-tracking
- https://github.com/msgpack/msgpack-c/blob/c-7.0.2/src/vrefbuffer.c#L177-L224 technical-description
- https://github.com/msgpack/msgpack-c/commit/1c47ce020a019a3d4246e6394176779ecdf9d502 patch
- VulnCheck Advisory: msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate third-party-advisory