CVE-2026-130065

Source
https://cve.org/CVERecord?id=CVE-2026-130065
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130065.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-130065
Downstream
Published
2026-11-16T22:00:09Z
Modified
2026-11-18T01:03:53Z
Severity
  • 5.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
msgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130065.json"
}
References

Affected packages

Git / github.com/msgpack/msgpack-c

Affected ranges

Type
GIT
Repo
https://github.com/msgpack/msgpack-c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "7.0.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "1c47ce020a019a3d4246e6394176779ecdf9d502"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.3.0
0.3.1
0.3.2
2.*
2.1.4
c-4.*
c-4.0.0
c-5.*
c-5.0.0
c-6.*
c-6.0.0
c-6.0.1
c-6.0.2
c-6.1.0
c-7.*
c-7.0.0
c-7.0.1
c-7.0.2
cpp-0.*
cpp-0.3.4
cpp-0.3.5
cpp-0.3.6
cpp-0.3.7
cpp-0.3.8
cpp-0.4.0
cpp-0.4.1
cpp-0.4.2
cpp-0.4.3
cpp-0.5.0
cpp-0.5.5
cpp-0.5.8
cpp-0.5.9
cpp-1.*
cpp-1.0.0
cpp-1.0.1
cpp-1.1.0
cpp-1.2.0
cpp-1.3.0
cpp-1.4.0
cpp-2.*
cpp-2.0.0
cpp-2.1.0
cpp-2.1.1
cpp-2.1.2
cpp-2.1.3
cpp-2.1.4
cpp-2.1.5
Other
cpp-3
cpp-3.*
cpp-3.0.0
cpp-3.0.1
cpp-3.1.0
cpp-3.1.1
cpp-3.2.0
cpp-3.2.1
cpp-3.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130065.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "89495539501396535042884770616740305797",
                "321968732988311298848836799602243797847",
                "79075533797682414278377175363762364042",
                "21542924148688038665223613590878425543"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-130065-548be48f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/msgpack/msgpack-c/commit/1c47ce020a019a3d4246e6394176779ecdf9d502",
        "target":  {
            "file":  "src/vrefbuffer.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "91166343748244378604684084316462462875",
            "length":  1488
        },
        "id":  "CVE-2026-130065-96ba0608",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/msgpack/msgpack-c/commit/1c47ce020a019a3d4246e6394176779ecdf9d502",
        "target":  {
            "file":  "src/vrefbuffer.c",
            "function":  "msgpack_vrefbuffer_migrate"
        }
    }
]
vanir_signatures_modified
"2026-11-18T01:03:53Z"