[ CVE-2026-116587 · Published 26 Oct 2026 ]
Go JOSE: DoS when parsing JWKs that contain RSA keys
CVSS 7.5
EPSS <1%Fix available
[ Description ]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.
[ Fixes ]Fixes and patches
- github.com/go-jose/go-jose/v4 4.1.6Fixed version · GitHub Advisories · go package github.com/go-jose/go-jose/v4: upgrade to 4.1.6 or later (affected <= 4.1.5)
[ Packages ]Affected open-source packages
- github.com/go-jose/go-jose/v4 goAffected <= 4.1.5 · fixed in 4.1.6 · GHSA-mgcc-cww5-fp2q
- github.com/go-jose/go-jose/v3 goAffected <= 3.0.5 · GHSA-mgcc-cww5-fp2q