CVE-2025-30204
CVE-2025-30204 is a high-severity vulnerability with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-405.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-7207
- Weakness: CWE-405
- Published:
- Last modified:
Description
golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2.
Frequently asked questions
- What is CVE-2025-30204?
- golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2.
- How severe is CVE-2025-30204?
- CVE-2025-30204 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-30204 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2025-30204?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-30204 have an EU (EUVD) identifier?
- Yes. CVE-2025-30204 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-7207.
- When was CVE-2025-30204 published?
- CVE-2025-30204 was published on 2025-03-21 and last updated on 2026-06-17.
References
- https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3
- https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb
- https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp
- https://security.netapp.com/advisory/ntap-20250404-0002/
Other CWE-405 vulnerabilities
- CVE-2025-53633 — Critical (CVSS 9.8): Chall-Manager is a platform-agnostic system able to start Challenges on Demand of a player. When decoding a scenario…
- CVE-2021-38447 — High (CVSS 8.6): OCI OpenDDS versions prior to 3.18.1 are vulnerable when an attacker sends a specially crafted packet to flood target…
- CVE-2025-42874 — High (CVSS 7.9): SAP NetWeaver remote service for Xcelsius allows an attacker with network access and high privileges to execute…
- CVE-2026-47774 — High (CVSS 7.5): Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.35.11,…
- CVE-2026-25611 — High (CVSS 7.5): A series of specifically crafted, unauthenticated messages can exhaust available memory and crash a MongoDB server.
- CVE-2026-0485 — High (CVSS 7.5): SAP BusinessObjects BI Platform allows an unauthenticated attacker to send specially crafted requests that could cause…