{"id":"UBUNTU-CVE-2026-130065","details":"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.","modified":"2026-11-18T14:20:05.791228456Z","published":"2026-11-16T22:18:00Z","upstream":["CVE-2026-130065"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-130065"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-130065"},{"type":"REPORT","url":"https://github.com/msgpack/msgpack-c/issues/1197"}],"affected":[{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmsgpackc2","binary_version":"2.1.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}},{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmsgpackc2","binary_version":"3.0.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}},{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libmsgpackc2","binary_version":"3.3.0-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}},{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-3","4.0.0-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmsgpackc2","binary_version":"4.0.0-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}},{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.0-2","7.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmsgpack-c2","binary_version":"7.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}},{"package":{"name":"msgpack-c","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/msgpack-c?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-3","6.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.0-2","binary_name":"libmsgpack-c2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-130065.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}