Uncontrolled Recursion Affecting github.com/go-jose/go-jose/v4/json package, versions <4.1.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd 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-GITHUBCOMGOJOSEGOJOSEV4JSON-21755481
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-116586  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the JSON parsing process. An attacker can cause the application to crash by submitting deeply nested arrays or objects, leading to stack exhaustion.

CVSS Base Scores

version 4.0
version 3.1