CVE-2025-30204: jwt-go allows excessive memory allocation during header parsing
Vulnerability summary
CVE-2025-30204 is a high (CVSS 7.5) vulnerability in golang-jwt jwt. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 56.9% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 24 · Related 460Showing 100 of 461.
Timeline
- 21-03-2025PublishedVulnerability first disclosed.
- 10-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 9 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 0.74% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard199 products
- aactl< 0.4.12-r29
- actions-runner-controller< 0.10.1-r7
- actions-runner-controller-compat< 0.10.1-r7
- actions-runner-controller-fips< 0.10.1-r7
- actions-runner-controller-fips-compat< 0.10.1-r7
Alpine1 product
- rclone< 1.69.3-r0
2 vendors · 200 products · Showing 200 of 1112
References
58 links- github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cpX Refsource CONFIRMARTICLEAdvisoryWEB
- github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3X Refsource MISCARTICLEFIXWEB
Show all 58 references
- pkg.go.dev/vuln/GO-2025-3553Advisory
- github.com/golang-jwt/jwtPACKAGE
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory