Skip to main content
← All vulnerabilities
CVE-2026-116587EUVD-2026-110467GHSA-MGCC-CWW5-FP2Q

Go JOSE: DoS when parsing JWKs that contain RSA keys

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Go JOSE, a Go library for JSON Web Encryption, Signature, and Token standards, is affected when it parses JSON Web Keys containing RSA keys from untrusted sources. A specially crafted key can make the server consume excessive CPU time, letting an attacker cause a denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • go-jose go-jose

    fixed in 4.1.6

  • github.com/go-jose/go-jose/v4Go

    fixed in 4.1.6

  • github.com/go-jose/go-jose/v3Go

    through 3.0.5

References 3

GitHub · go-jose/go-jose