Skip to content
Heist/ feed
Back to feed
UnratedFix available

Denial of service in github.com/shamaton/msgpack

Type: advisorySources: OSV

The msgpack decoder fails to properly validate the input buffer length when processing truncated fixext data (format codes 0xd4-0xd8). This can lead to an out-of-bounds read and a runtime panic, allowing a denial of service attack.

Products
github.com/shamaton/msgpack, github.com/shamaton/msgpack/v2, github.com/shamaton/msgpack/v3
Affected versions
Not specified
Fixed versions
2.4.1, 3.1.1
CVEs
CVE-2026-32284
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:46 UTC · Revision 1

Source evidence

Denial of service in github.com/shamaton/msgpack

core-osv · Original source

Published 16 Mar 2026, 20:27 UTC

The msgpack decoder fails to properly validate the input buffer length when processing truncated fixext data (format codes 0xd4-0xd8). This can lead to an out-of-bounds read and a runtime panic, allowing a denial of service attack.

osv:GO-2026-4513

github.com/shamaton/msgpack

Fixed versions: Not specified

github.com/shamaton/msgpack/v2

Fixed versions: 2.4.1

github.com/shamaton/msgpack/v3

Fixed versions: 3.1.1

Complete source record
{
  "id": "c43d2d825f2d7682004a9f0a825b4d9915f5cb2af4ba18c4b29cf8bb772ccc05",
  "url": "https://osv.dev/vulnerability/GO-2026-4513",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Denial of service in github.com/shamaton/msgpack",
    "summary": "The msgpack decoder fails to properly validate the input buffer length when processing truncated fixext data (format codes 0xd4-0xd8). This can lead to an out-of-bounds read and a runtime panic, allowing a denial of service attack.",
    "evidence": "osv:GO-2026-4513",
    "products": [
      {
        "name": {
          "value": "github.com/shamaton/msgpack",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/shamaton/msgpack/v2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/shamaton/msgpack/v3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "GO-2026-4513",
      "aliases": [
        "CVE-2026-32284",
        "GHSA-h9q6-hc68-35rp",
        "GO-2026-4513"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/shamaton/msgpack",
            "purl": "pkg:golang/github.com/shamaton/msgpack",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-4513.json"
          },
          "ecosystem_specific": {
            "imports": [
              {
                "path": "github.com/shamaton/msgpack",
                "symbols": [
                  "DecodeStructAsArray",
                  "DecodeStructAsMap",
                  "Unmarshal",
                  "UnmarshalAsArray",
                  "UnmarshalAsMap"
                ]
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.1"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/shamaton/msgpack/v2",
            "purl": "pkg:golang/github.com/shamaton/msgpack/v2",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-4513.json"
          },
          "ecosystem_specific": {
            "imports": [
              {
                "path": "github.com/shamaton/msgpack/v2",
                "symbols": [
                  "Unmarshal",
                  "UnmarshalAsArray",
                  "UnmarshalAsMap"
                ]
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.1"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/shamaton/msgpack/v3",
            "purl": "pkg:golang/github.com/shamaton/msgpack/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-4513.json"
          },
          "ecosystem_specific": {
            "imports": [
              {
                "path": "github.com/shamaton/msgpack/v3",
                "symbols": [
                  "Unmarshal",
                  "UnmarshalAsArray",
                  "UnmarshalAsMap"
                ]
              }
            ]
          }
        }
      ],
      "modified": "2026-10-07T17:56:03.323669413Z",
      "provider": "osv",
      "references": [
        "https://github.com/shamaton/msgpack/issues/59",
        "https://github.com/golang/vulndb/issues/4513"
      ],
      "provider_metadata": {
        "url": "https://pkg.go.dev/vuln/GO-2026-4513",
        "review_status": "REVIEWED"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32284",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 97138,
  "published_at": "2026-03-16T20:27:23+00:00"
}