Golang github golang jwt jwt: Starting
Affects golang-github-golang-jwt-jwtSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 5.2.2 : patch golang-github-golang-jwt-jwt soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.2.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSgolang-github-golang-jwt-jwtpkg:deb/ubuntu/golang-github-golang-jwt-jwt?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-github-golang-jwt-jwt-v5pkg:deb/ubuntu/golang-github-golang-jwt-jwt-v5?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgolang-github-golang-jwt-jwtpkg:deb/ubuntu/golang-github-golang-jwt-jwt?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.