All vulnerabilities

Go

CVE-2026-116586

Go JOSE: Panics in JSON parsing

Severity
Medium
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.1.5
Exploit chance
0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled recursion (CWE-674)
Also known as
GHSA-vvm8-gf78-28g4
Sources
OSV.dev and GitHub

Description

Parsing deeply nested JSON structures can hit Go's stack limit, causing the application to crash.

Note: this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.

Denial of service vulnerability. Any application that parses untrusted JSON via go-jose is exposed.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Reject large inputs before parsing them.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/go-jose/go-jose/v3Go · osv:Go:github.com/go-jose/go-jose/v3
  • Every version up to 3.0.5
github.com/go-jose/go-jose/v4Go · osv:Go:github.com/go-jose/go-jose/v4
  • Every version before 4.1.5

About github.com/go-jose/go-jose/v3

Vulnerabilities in github.com/go-jose/go-jose/v3

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for github.com/go-jose/go-jose/v3

About github.com/go-jose/go-jose/v4

Vulnerabilities in github.com/go-jose/go-jose/v4

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for github.com/go-jose/go-jose/v4

References