Go/github.com/golang-jwt/jwt/v5 CVE-2025-30204: high 7.5, EPSS 0.75%
jwt-go allows excessive memory allocation during header parsing
Action: Upgrade github.com/golang-jwt/jwt/v5 to 5.2.2 or later.
go get github.com/golang-jwt/jwt/v5@v5.2.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 5.0.0-rc.1 | 5.2.2 | - |
Fixed versions
| 5.2.2 |
Sources
- osv: GHSA-mh63-6h87-95cp
- https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp
- https://nvd.nist.gov/vuln/detail/CVE-2025-30204
- https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3
- https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb
- https://github.com/golang-jwt/jwt
- https://security.netapp.com/advisory/ntap-20250404-0002
CVE-2025-30204 · published · modified · JSON