ADVISORIES

Go Vulnerability Database

GO-2026-4513

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/shamaton/msgpack
All versions, no fix listed
Gogithub.com/shamaton/msgpack/v2
All versions before 2.4.1 (fixed in 2.4.1)
Gogithub.com/shamaton/msgpack/v3
All versions before 3.1.1 (fixed in 3.1.1)

References