CVE-2026-116587 · HIGH (CVSS 7.5)
Summary: Go JOSE: DoS when parsing JWKs that contain RSA keys
EPSS: 0.5% probability of exploitation in the next 30 days (percentile 42.7).
Details
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.
Severity
HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected packages
- Go github.com/go-jose/go-jose/v4 [0 – 4.1.6]
- Go github.com/go-jose/go-jose/v3 [0 – 3.0.5]
- GIT github.com/go-jose/go-jose [0 – a0111f82742fa92bceec9ede40845e73319e6230]
References
- https://github.com/go-jose/go-jose/releases/tag/v4.1.6
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116587.json
- https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q
- https://nvd.nist.gov/vuln/detail/CVE-2026-116587
- https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230