CVE-2026-116587
HIGH 7.5CVSS 3.1Go JOSE: DoS when parsing JWKs that contain RSA keys
Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.6, go-jose parses attacker-controlled RSA modulus and prime values from JWKs without enforcing size and consistency bounds before passing them to crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large or degenerate RSA parameters can make that validation consume cubic CPU time, allowing remote denial of service in applications that parse JWKs from untrusted sources. This issue is fixed in version 4.1.6.
- Published
- 26 Oct 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-407CWE-770
- Also known as
- GHSA-mgcc-cww5-fp2q
- Sources
- NVDJSONOSV GHSA-mgcc-cww5-fp2qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/go-jose/go-jose/v4 | < 4.1.6 | 4.1.6 |
| OSV | Go | github.com/go-jose/go-jose/v3 | <= 3.0.5 |
References
- https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230 · WEB
- https://github.com/go-jose/go-jose/releases/tag/v4.1.6 · WEB
- https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-116587 · ADVISORY
- https://github.com/go-jose/go-jose · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 26 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Oct 2026)