CVE-2026-116586Go JOSE: Panics in JSON parsing
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-jose-go-jose | Fix pending | UBUNTU-CVE-2026-116586 | |
| Ubuntu 26.10 | golang-github-go-jose-go-jose.v3 | Fix pending | UBUNTU-CVE-2026-116586 | |
| Ubuntu 26.10 | golang-gopkg-square-go-jose.v2 | Fix pending | UBUNTU-CVE-2026-116586 | |
| Ubuntu 26.04 | golang-github-go-jose-go-jose | Fix pending | UBUNTU-CVE-2026-116586 | |
| Ubuntu 26.04 | golang-github-go-jose-go-jose.v3 | Under investigation | UBUNTU-CVE-2026-116586 | |
| Ubuntu 26.04 | golang-gopkg-square-go-jose.v2 | Under investigation | UBUNTU-CVE-2026-116586 | |
| Ubuntu 24.04 | golang-github-go-jose-go-jose | Under investigation | UBUNTU-CVE-2026-116586 | |
| Ubuntu 24.04 | golang-gopkg-square-go-jose.v2 | Under investigation | UBUNTU-CVE-2026-116586 | |
| Ubuntu 22.04 | golang-gopkg-square-go-jose.v2 | Under investigation | UBUNTU-CVE-2026-116586 | |
| Ubuntu 20.04 | golang-gopkg-square-go-jose.v2 | Fix pending | UBUNTU-CVE-2026-116586 | |
| Debian 14 | golang-github-go-jose-go-jose | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 14 | golang-github-go-jose-go-jose.v3 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 14 | golang-gopkg-square-go-jose.v1 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 14 | golang-gopkg-square-go-jose.v2 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 13 | golang-github-go-jose-go-jose | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 13 | golang-github-go-jose-go-jose.v3 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 13 | golang-gopkg-square-go-jose.v1 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 13 | golang-gopkg-square-go-jose.v2 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 12 | golang-gopkg-square-go-jose.v1 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Debian 12 | golang-gopkg-square-go-jose.v2 | Fix pending | DEBIAN-CVE-2026-116586 | |
| Go library | github.com/go-jose/go-jose/v3 | Fix pending | GHSA-vvm8-gf78-28g4 | |
| Go library | github.com/go-jose/go-jose/v4 | Fixed | 4.1.5 | GHSA-vvm8-gf78-28g4 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- go-jose: affected: < 4.1.5
References
- https://github.com/go-jose/go-jose/security/advisories/GHSA-vvm8-gf78-28g4
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.