Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity resource allocation without limits in go-jose from go-jose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 69.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24docker29.9.3-r0ALPINE-CVE-2026-116587
Debian:13golang-github-go-jose-go-joseno fix listedDEBIAN-CVE-2026-116587
Debian:14golang-github-go-jose-go-joseno fix listedDEBIAN-CVE-2026-116587
Debian:13golang-github-go-jose-go-jose.v3no fix listedDEBIAN-CVE-2026-116587
Debian:14golang-github-go-jose-go-jose.v3no fix listedDEBIAN-CVE-2026-116587
Debian:12golang-gopkg-square-go-jose.v1no fix listedDEBIAN-CVE-2026-116587
Debian:13golang-gopkg-square-go-jose.v1no fix listedDEBIAN-CVE-2026-116587
Debian:14golang-gopkg-square-go-jose.v1no fix listedDEBIAN-CVE-2026-116587
Debian:12golang-gopkg-square-go-jose.v2no fix listedDEBIAN-CVE-2026-116587
Debian:13golang-gopkg-square-go-jose.v2no fix listedDEBIAN-CVE-2026-116587
Debian:14golang-gopkg-square-go-jose.v2no fix listedDEBIAN-CVE-2026-116587
Gogithub.com/go-jose/go-jose/v3no fix listedGHSA-mgcc-cww5-fp2q
Gogithub.com/go-jose/go-jose/v44.1.6GHSA-mgcc-cww5-fp2q
Ubuntu:24.04:LTSgolang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2026-116587
Ubuntu:26.10golang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2026-116587
Ubuntu:26.04:LTSgolang-github-go-jose-go-jose.v3no fix listedUBUNTU-CVE-2026-116587
Ubuntu:26.10golang-github-go-jose-go-jose.v3no fix listedUBUNTU-CVE-2026-116587
Ubuntu:22.04:LTSgolang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-116587
Ubuntu:24.04:LTSgolang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-116587
Ubuntu:26.04:LTSgolang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-116587
Ubuntu:26.10golang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-116587

Affected products (as reported)

VendorProductVersions
go-jose go-jose < 4.1.6

Weakness: CWE-407, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References