Go JOSE: DoS when parsing JWKs that contain RSA keys
影響: go:github.com/go-jose/go-jose/v4 <= 4.1.5 → 4.1.6, go:github.com/go-jose/go-jose/v3 <= 3.0.5
A crafted RSA key inside a JWK can cause operations that parse JWKs to consume excess CPU. Details go-jose does not check for bounds on RSA modulus and primes before validating them. Values are passed directly to crypto/rsa.PrivateKey.Validate(). On Go 1.24+, this takes cubic time complexity with respect to the RSA modulus and primes. This allows an attacker to supply a crafted JWK to consume excessive CPU. https://github.com/go-jose/go-jose/blob/5b371aecfcf7aabe06068d67da4344591ecddc76/jwk.go#…
Read on GitHub Advisory Database
| CVE | CVE-2026-116587 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/28/2026, 06:03 AM |
| Data | Markdown JSON |
On 10/28/2026, 04:01 AM, GitHub Advisory Database published "Go JOSE: DoS when parsing JWKs that contain RSA keys" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-116587.