CVE-2025-30204
golang-jwt/jwt: jwt-go allows excessive memory allocation during header parsing
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 22, 2025
Updated · November 4, 2026
Description
A flaw was found in the golang-jwt implementation of JSON Web Tokens (JWT). In affected versions, a malicious request with specially crafted Authorization header data may trigger an excessive consumption of resources on the host system. This issue can cause significant performance degradation or an application crash, leading to a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Red Hat Product Security does not have a recommended mitigation at this time.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-405 · Asymmetric Resource Consumption (Amplification)