CVE-2026-116586

Go JOSE: Panics in JSON parsing

Published Oct 26, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.5, parsing attacker-controlled JSON through go-jose allows deeply nested arrays or objects to exceed Go's stack limit. The resulting stack overflow crashes the application and permits denial of service in applications that parse untrusted JSON through go-jose. This issue is fixed in version 4.1.5.

Analysis

AI-generated

Technical impact

The vulnerability resides in the JSON parsing routine of Go JOSE, a library providing JWE, JWS, and JWT support in Go. Attackers can craft deeply nested JSON objects or arrays that cause Go’s runtime stack limit to be exceeded during parsing, leading to a stack overflow and application crash. The result is a denial of service condition. The flaw is a stack overflow weakness, identified as CWE‑674 and CWE‑770.

Affected Systems

Go JOSE (go-jose) versions prior to 4.1.5 are affected. Any system that incorporates older releases and parses untrusted JSON through go-jose potentially exposes the vulnerability.

Risk and Exploitability

The CVSS score of 6.9 reflects moderate severity. The EPSS score is < 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires delivery of maliciously nested JSON to an application that uses go-jose, a scenario that is feasible in many contexts where untrusted data is parsed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade go-jose to version 4.1.5 or newer.
  • Replace or modify any code that passes untrusted JSON to go‑jose with a validation layer that limits nesting depth.
  • If upgrading is not immediately possible, ensure that the application runs the JSON parsing in a restricted or sandboxed environment to contain potential crashes.

Generated by OpenCVE AI on October 29, 2026 at 14:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vvm8-gf78-28g4 Go JOSE: Panics in JSON parsing
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Go-jose
Go-jose go-jose
Vendors & Products Go-jose
Go-jose go-jose
Type Values Removed Values Added
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.5, parsing attacker-controlled JSON through go-jose allows deeply nested arrays or objects to exceed Go's stack limit. The resulting stack overflow crashes the application and permits denial of service in applications that parse untrusted JSON through go-jose. This issue is fixed in version 4.1.5.
Title Go JOSE: Panics in JSON parsing
Weaknesses CWE-674
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 6:46 PM
Reserved
Oct 26, 2026, 3:03 PM
Status
Awaiting Analysis
Published
Oct 26, 2026, 10:16 PM
Modified
Oct 30, 2026, 7:18 PM
Severity
Important
Public date
Oct 26, 2026, 9:09 PM