All vulnerabilities
CVE-2026-116587GHSA-mgcc-cww5-fp2q

go-jose: Go JOSE: DoS when parsing JWKs that contain RSA keys

go-jose go-jose
CVSS
7.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in4.1.6Fixed versionGitHub
Published26 Oct 2026Updated 26 Oct 2026CVE List

What fixes it

  • 4.1.6github.com/go-jose/go-jose/v4, goGitHubgo get github.com/go-jose/go-jose/v4@v4.1.6

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 3

  • go-joseaffected: < 4.1.6CVE List
  • github.com/go-jose/go-jose/v4, go<= 4.1.5GitHub
  • github.com/go-jose/go-jose/v3, go<= 3.0.5GitHub

References 3