CVE-2026-116587: Go JOSE · DoS when parsing JWKs that contain RSA keys
Affects github.com/go-jose/go-jose/v4Source GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 4.1.6 soon.
Data as of 27 Oct 2026, 20:30 UTC
- Patch
- Available – fixed in 4.1.6
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 26 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade github.com/go-jose/go-jose/v4 to 4.1.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/go-jose/go-jose/v4 | Affected
| Fixed in
|
| Gogithub.com/go-jose/go-jose/v3 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in go-jose version 4.1.6. Users should upgrade to this version or later to remediate the vulnerability. Since the vulnerability arises from parsing untrusted JWKs, applying the official fix is the recommended mitigation. No other specific mitigations are indicated by the vendor advisory.
Description
A denial of service vulnerability exists in go-jose when parsing JWKs containing RSA keys with crafted parameters. The vulnerability arises because go-jose does not validate bounds on RSA modulus and primes before calling crypto/rsa.PrivateKey.Validate(), which on Go 1.24+ has cubic time complexity relative to key size. This allows an attacker to supply a malicious JWK that causes excessive CPU consumption during parsing. The issue affects go-jose versions prior to 4.1.6 and 3.0.5 and has been fixed in version 4.1.6.
References
- github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-116587 (opens in a new tab)
- github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230 (opens in a new tab)
- github.com/go-jose/go-jose (opens in a new tab)
- github.com/go-jose/go-jose/releases/tag/v4.1.6 (opens in a new tab)