ADVISORIES

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

EcosystemPackageAffected versions
Gogithub.com/golang-jwt/jwt
All versions, no fix listed
Gogithub.com/golang-jwt/jwt/v4
All versions before 4.5.2 (fixed in 4.5.2)
Gogithub.com/golang-jwt/jwt/v5
From 5.0.0-rc.1 before 5.2.2 (fixed in 5.2.2)

References