CVE-2026-116586: Go JOSE: Panics in JSON parsing
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.
Published Oct 28, 2026
Affected packages
github.com/go-jose/go-jose/v4
- Ecosystem
- Go
- Affected
- < 4.1.5
- Fixed in
- 4.1.5
- Check
go list -m github.com/go-jose/go-jose/v4
github.com/go-jose/go-jose/v3
- Ecosystem
- Go
- Affected
- <= 3.0.5
- Fixed in
- No patched version yet
- Check
go list -m github.com/go-jose/go-jose/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/go-jose/go-jose/security/advisories/GHSA-vvm8-gf78-28g4
- https://nvd.nist.gov/vuln/detail/CVE-2026-116586
- https://github.com/go-jose/go-jose/pull/290
- https://github.com/go-jose/go-jose/commit/a31af25836222f4c45d366d6e8f9b1049dd9935a
- https://github.com/go-jose/go-jose/releases/tag/v4.1.5
- https://github.com/advisories/GHSA-vvm8-gf78-28g4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-116585
Go JOSE: Panic during CBC-HMAC processing
medium6.9No fixOct 28, 2026CVE-2026-116587
Go JOSE: DoS when parsing JWKs that contain RSA keys
high7.5No fixOct 27, 2026CVE-2026-34986
Go JOSE Panics in JWE decryption
high7.5No fixApr 3, 2026CVE-2025-27144
DoS in go-jose Parsing
medium6.9Feb 24, 2025CVE-2024-28180
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
medium4.3No fixMar 7, 2024
