Inefficient Algorithmic Complexity Affecting github.com/go-jose/go-jose/v4 package, versions <4.1.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOJOSEGOJOSEV4-21755478
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-116587  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade github.com/go-jose/go-jose/v4 to version 4.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the parsing process of JWKs containing RSA keys due to lack of size and consistency checks on RSA modulus and prime values before validation. An attacker can cause excessive CPU consumption and disrupt service availability by submitting specially crafted JWKs with large or malformed RSA parameters.

CVSS Base Scores

version 4.0
version 3.1