Heap buffer overflow in msgpack-c vrefbuffer migration
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
msgpack-c through 7.0.2 contains a heap buffer overflow in msgpack_vrefbuffer_migrate() in src/vrefbuffer.c. When migrating between vrefbuffers of unequal size, the realloc is skipped and memcpy() writes iovec entries past the destination array, which corrupts adjacent heap memory or crashes the application. A local user with low privileges can trigger the flaw with user interaction, and the CVSS 4.0 vector rates the impact on integrity and availability as high and low. The flaw is classified as CWE-787.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for msgpack-c.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
Timeline
- 2026-11-16 Threatist record created from CVE-2026-130065
- 2026-11-17 Alias added: GHSA-8pq6-mw7r-9f5g
References
More msgpack vulnerabilities
- TI-2026-17336 Uncontrolled resource consumption in msgpack-java CVSS 3.1HIGH 7.5
- TI-2026-61499 msgpack-java through 0.9.12 Stack Overflow via Nested Arrays CVSS 4.0MEDIUM 6.9
- TI-2026-51079 msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation CVSS 4.0MEDIUM 5.8
- TI-2026-39368 MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure CVSS 4.0LOW 2.1
- TI-2026-79420 Memory leak in MessagePack C extension on strict map key failure CVSS 3.1HIGH 7.5
- TI-2026-91059 Unchecked allocation in msgpack-java JRuby decoder exhausts JVM heap CVSS 3.1HIGH 7.5
Sources
- CVE-2026-130065 · CVE Program
- CVE-2026-130065 · NVD
- GHSA-8pq6-mw7r-9f5g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences