CVE-2026-116587 Go JOSE: DoS when parsing JWKs that contain RSA keys

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-116587?

CVE-2026-116587 is a high-severity vulnerability in go-jose, published on 26 Oct 2026.

Official description

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.

Weakness: CWE-770, CWE-407

Which versions are affected by CVE-2026-116587?

4 open source packages ship an affected version, including github.com/go-jose/go-jose/v3 and github.com/go-jose/go-jose/v4.

PackageAffectedFixed in
github.com/go-jose/go-jose/v3 GoAll versions to 3.0.5None
github.com/go-jose/go-jose/v3 GoAll versions to 3.0.5None
github.com/go-jose/go-jose/v4 GoAll versions4.1.6
github.com/go-jose/go-jose/v4 GoAll versions4.1.6

How do I fix CVE-2026-116587?

Upgrade to a fixed version.

Is CVE-2026-116587 being exploited?

There is no known exploitation of CVE-2026-116587 in the wild and no public exploit code.

Sources

Also known as GHSA-mgcc-cww5-fp2q, MINI-2579-3v7q-53x8, MINI-2jgx-fv9c-rm69, MINI-2qwr-f38f-g29r, MINI-2x67-82fv-2r8h, MINI-325m-mmrg-3qph and 58 more.

Is CVE-2026-116587 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free