p PatchFirst

CVE-2026-130065

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

CVSS 5.8 · Medium · EPSS 0.2%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="msgpack-c"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • msgpack-c

    Versions
    • ≥ 0, ≤ 7.0.2: Affected (custom)

    No fix published

  • msgpack-c Debian 12

    Versions
    • 4.0.0-3
    • 6.0.0-1
    • 6.0.0-2
    • 6.0.0-3
    • 6.0.0-4
    • 6.0.0-5
    All versions (14)
    • 6.0.1-1
    • 6.0.1-2
    • 6.0.1-3
    • 6.1.0-1
    • 6.1.0-2
    • 7.0.1-1
    • 7.0.2-1
    • 7.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Debian 13

    Versions
    • 6.0.1-3
    • 6.1.0-1
    • 6.1.0-2
    • 7.0.1-1
    • 7.0.2-1
    • 7.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Debian 14

    Versions
    • 6.0.1-3
    • 6.1.0-1
    • 6.1.0-2
    • 7.0.1-1
    • 7.0.2-1
    • 7.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 18.04 LTS

    Versions
    • 2.1.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 20.04 LTS

    Versions
    • 3.0.1-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 22.04 LTS

    Versions
    • 3.3.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 24.04 LTS

    Versions
    • 4.0.0-3
    • 4.0.0-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 26.10

    Versions
    • 6.1.0-2
    • 7.0.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • msgpack-c Ubuntu 26.04 LTS

    Versions
    • 6.0.1-3
    • 6.1.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →