CVEsgo-joseCVE-2026-116587Published Oct 26, 21:12 · Updated Oct 27, 14:17 UTC
7.5
HighCVSS 3.1 · from GitHub_M
CVE-2026-116587

Go JOSE: DoS when parsing JWKs that contain RSA keys

go-jose · CWE-407 · CWE-407
Affectedgo-jose
FixNo fix listed yet.
PublishedOct 26, 21:12 · GitHub_M
ScoredOct 26 · 7.5 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:11 UTC

What we know

No known exploitation. CISA KEV, checked 22:11 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
A successful attack can take the service down. CVSS impact.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed ingo-jose< 4.1.6–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q · github.comrefsource_CONFIRMgithub.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230 · github.comrefsource_MISCgithub.com/go-jose/go-jose/releases/tag/v4.1.6 · github.comrefsource_MISC

Other CVEs in go-jose

All 5 →
6.9Go JOSE: Panics in JSON parsing · CVE-2026-116586Oct 266.9Go JOSE: Panic during CBC-HMAC processing · CVE-2026-116585Oct 267.5Go JOSE affect by a panic in JWE decryption · CVE-2026-34986Apr 6