CVE-2026-116586

Go JOSE: Panics in JSON parsing

Medium published · updated · also known as GHSA-VVM8-GF78-28G4

6.9
CVSS score out of 10 · GitHub

Description

Summary

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.

Impact

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

Workarounds

Reject large inputs before parsing them.

Acknowledgements

Thanks to Dohyun Kim (@azza999), Joshua Rogers of AISLE Research, and Sueun Cho for alerting us to the need to patch this.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
github.com/go-jose/go-jose/v4 go < 4.1.54.1.5 GitHub
github.com/go-jose/go-jose/v3 go <= 3.0.5— GitHub

References