Go Vulnerability Database
GO-2025-3553
Excessive memory allocation during header parsing in github.com/golang-jwt/jwt
Details
Excessive memory allocation during header parsing in github.com/golang-jwt/jwt
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/golang-jwt/jwt | All versions, no fix listed |
| Go | github.com/golang-jwt/jwt/v4 | All versions before 4.5.2 (fixed in 4.5.2) |
| Go | github.com/golang-jwt/jwt/v5 | From 5.0.0-rc.1 before 5.2.2 (fixed in 5.2.2) |