Cloudanix VulnDB

CVE-2026-116586

None

CVSS

—

EPSS

0.3%

Published

Oct 26, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a common Go library for handling secure tokens lets attackers send specially crafted data that crashes the program, knocking services offline until they are restarted.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Parsing of attacker-supplied JSON containing deeply nested arrays or objects exceeds Go runtime stack limits, triggering a stack overflow that terminates the process.

Why it matters to the business

Services relying on the library for token or encryption handling experience sudden crashes, resulting in denial of service and loss of availability for any dependent applications or APIs.

How an attack unfolds

An attacker crafts a JSON payload with excessive nesting and submits it to any endpoint that uses go-jose to parse untrusted input such as JWTs or JWEs; the library's recursive parsing exhausts the stack and crashes the process before any cryptographic validation occurs.

How to fix it

Upgrade go-jose to version 4.1.5 or later; after upgrade, recompile and redeploy all dependent binaries. Where immediate upgrade is not feasible, add input-size or nesting-depth limits before passing data to the library.

How to confirm the fix worked

Confirm the running binary links against go-jose 4.1.5 or newer; replay a known deeply nested test vector and verify the process no longer crashes.

Typical attack path

  1. Identify an application endpoint accepting JSON processed by go-jose
  2. Generate a deeply nested JSON structure exceeding Go stack depth
  3. Transmit the payload via the normal request path
  4. Observe process termination and service outage

How to detect it

Review application and system logs for abrupt terminations or panic messages occurring immediately after receipt of JSON payloads on paths that invoke go-jose parsing functions; correlate with high nesting depth indicators if request logging captures raw bodies.

What your security team should do

  • Immediately inventory all Go services that import go-jose and schedule upgrade to 4.1.5 within the next patch cycle
  • Add runtime resource limits or request-size caps as a temporary defense-in-depth measure
  • Monitor application crash logs for stack-overflow signals on JSON parsing paths

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities