GO-2026-4513

Source
https://pkg.go.dev/vuln/GO-2026-4513
Import Source
https://vuln.go.dev/ID/GO-2026-4513.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-4513
Aliases
Related
Published
2026-03-16T20:27:23Z
Modified
2026-05-29T02:29:18.915551189Z
Summary
Denial of service in github.com/shamaton/msgpack
Details

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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-4513",
    "review_status": "REVIEWED"
}
References

Affected packages

Go / github.com/shamaton/msgpack

Package

Name
github.com/shamaton/msgpack
View open source insights on deps.dev
Purl
pkg:golang/github.com/shamaton/msgpack

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "DecodeStructAsArray",
                "DecodeStructAsMap",
                "Unmarshal",
                "UnmarshalAsArray",
                "UnmarshalAsMap"
            ],
            "path": "github.com/shamaton/msgpack"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4513.json"

Go / github.com/shamaton/msgpack/v2

Package

Name
github.com/shamaton/msgpack/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/shamaton/msgpack/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Unmarshal",
                "UnmarshalAsArray",
                "UnmarshalAsMap"
            ],
            "path": "github.com/shamaton/msgpack/v2"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4513.json"

Go / github.com/shamaton/msgpack/v3

Package

Name
github.com/shamaton/msgpack/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/shamaton/msgpack/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Unmarshal",
                "UnmarshalAsArray",
                "UnmarshalAsMap"
            ],
            "path": "github.com/shamaton/msgpack/v3"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4513.json"