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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/shamaton/msgpack | All versions, no fix listed |
| Go | github.com/shamaton/msgpack/v2 | All versions before 2.4.1 (fixed in 2.4.1) |
| Go | github.com/shamaton/msgpack/v3 | All versions before 3.1.1 (fixed in 3.1.1) |