CVE-2026-130065
published medium CVSS 4.0 · 5.8msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| msgpack | — | msgpack-c0 through 7.0.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| msgpack | msgpack-c | 0 through 7.0.2 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
4- https://github.com/msgpack/msgpack-c/blob/c-7.0.2/src/vrefbuffer.c#L177-L224
- https://github.com/msgpack/msgpack-c/commit/1c47ce020a019a3d4246e6394176779ecdf9d502
- https://github.com/msgpack/msgpack-c/issues/1197
- VulnCheck Advisory: msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate https://www.vulncheck.com/advisories/msgpack-c-through-7.0.2-heap-buffer-overflow-via-msgpack-vrefbuffer-migrate
Provider assertions
2VulnCheck · cna
msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49194cd5f97b5887cae33e35636e22cd1c195c4af2653ac44dfa97b79eeba4bb
- Ingested
- 17 Nov 2026, 16:30:22 UTC
- Source record
- Official CVE record