Read the docs

Go JOSE: Panics in JSON parsing

Priority LOW 36CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 5 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.

Summary

Go JOSE, a Go implementation of JWE, JWS and JWT, is affected by uncontrolled recursion (CWE-674) when parsing attacker-controlled JSON. Deeply nested arrays or objects exceed Go's stack limit and cause a stack overflow that crashes the application, exposing applications that parse untrusted JSON to denial of service. Red Hat rates the issue Important, and the CVSS 4.0 score is 6.9 (MEDIUM). The github.com/go-jose/go-jose/v3 module, up to and including 3.0.5, has no fix listed.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00292 21st percentileScored 2026-11-07
Fix Partial go-jose (go-jose): 4.1.5github.com/go-jose/go-jose/v4 (Go): 4.1.5Red Hat: 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
go-josego-josebefore 4.1.54.1.5Patch availableCNA
—github.com/go-jose/go-jose/v4 (Go)before 4.1.54.1.5Patch availableGHSA-vvm8-gf78-28g4
—github.com/go-jose/go-jose/v3 (Go)up to 3.0.5—No fix listedGHSA-vvm8-gf78-28g4
  • go-jose Vendorgo-jose Affected before 4.1.5 Fixed in 4.1.5 Patch available CNA
  • github.com/go-jose/go-jose/v4 (Go) Vendor— Affected before 4.1.5 Fixed in 4.1.5 Patch available GHSA-vvm8-gf78-28g4
  • github.com/go-jose/go-jose/v3 (Go) Vendor— Affected up to 3.0.5 Fixed in — No fix listed GHSA-vvm8-gf78-28g4

Remediation

Upgrade github.com/go-jose/go-jose/v4 to version 4.1.5, which fixes the issue. Versions before 4.1.5 are affected. The v3 module has no fix listed, so applications using it need another mitigation.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

  • Fix · CNA go-jose (go-jose) Fixed in 4.1.5
  • Fix · GHSA-vvm8-gf78-28g4 github.com/go-jose/go-jose/v4 (Go) Fixed in 4.1.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Multicluster Engine for KubernetesAffectedNo fix yet
OpenShift Service Mesh 3AffectedNo fix planned: Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Not affected: 2 products
  • OpenShift Service Mesh 3
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-26 Threatist record created from CVE-2026-116586
  2. 2026-10-27 Priority changed: MEDIUM → LOW
  3. 2026-10-28 Alias added: GHSA-vvm8-gf78-28g4
  4. 2026-10-28 Fix available: Go/github.com/go-jose/go-jose/[email protected] · GHSA-vvm8-gf78-28g4
  5. 2026-10-28 CVSS score added · GHSA-vvm8-gf78-28g4
  6. 2026-10-28 Weakness changed · GHSA-vvm8-gf78-28g4
  7. 2026-10-28 6 new references · GHSA-vvm8-gf78-28g4
  8. 2026-10-29 Affected versions changed · Red Hat
  9. 2026-10-29 CVSS score added · Red Hat
  10. 2026-10-30 CISA SSVC decision points changed
  11. 2026-11-06 Affected versions changed · Red Hat
  12. 2026-11-06 Affected versions changed · Red Hat

References

  • TI-2026-80925 Denial of service in go-jose when parsing JWKs with RSA keys CVSS 3.1HIGH 7.5
  • TI-2026-80923 Panic in Go JOSE CBC-HMAC decryption enables denial of service CVSS 4.0MEDIUM 6.9
  • TI-2025-20001 Go JOSE's Parsing Vulnerable to Denial of Service CVSS 4.0MEDIUM 6.6

Sources