{"id":"UBUNTU-CVE-2026-116586","details":"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.","modified":"2026-10-28T20:16:05.019955353Z","published":"2026-10-26T22:16:00Z","upstream":["CVE-2026-116586"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116586"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116586"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/commit/a31af25836222f4c45d366d6e8f9b1049dd9935a"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/pull/290"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/releases/tag/v4.1.5"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/security/advisories/GHSA-vvm8-gf78-28g4"}],"affected":[{"package":{"name":"golang-gopkg-square-go-jose.v2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-gopkg-square-go-jose.v2-dev","binary_version":"2.3.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-gopkg-square-go-jose.v2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-2","2.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-gopkg-square-go-jose.v2-dev","binary_version":"2.6.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-github-go-jose-go-jose","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-jose-go-jose?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.1-1","3.0.1-2","4.0.1-4","4.0.1-4ubuntu0.1","4.0.1-4ubuntu0.2","4.0.1-4ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.1-4ubuntu0.3","binary_name":"golang-github-go-jose-go-jose-dev"},{"binary_version":"4.0.1-4ubuntu0.3","binary_name":"jose-util"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-gopkg-square-go-jose.v2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-gopkg-square-go-jose.v2-dev","binary_version":"2.6.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-github-go-jose-go-jose","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-go-jose-go-jose?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.5-1build1","4.1.4-1","4.1.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-jose-go-jose-dev","binary_version":"4.1.4-2"},{"binary_name":"jose-util","binary_version":"4.1.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-github-go-jose-go-jose.v3","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-go-jose-go-jose.v3?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3-6"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-jose-go-jose.v3-dev","binary_version":"3.0.3-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-gopkg-square-go-jose.v2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.3-3","2.6.3-4"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-gopkg-square-go-jose.v2-dev","binary_version":"2.6.3-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-github-go-jose-go-jose.v3","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-jose-go-jose.v3?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3-6"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-jose-go-jose.v3-dev","binary_version":"3.0.3-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-gopkg-square-go-jose.v2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.3-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.3-3","binary_name":"golang-gopkg-square-go-jose.v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}},{"package":{"name":"golang-github-go-jose-go-jose","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-jose-go-jose?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.5-1","4.0.5-1build1","4.0.5-1ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.5-1ubuntu0.26.04.1~esm1","binary_name":"golang-github-go-jose-go-jose-dev"},{"binary_name":"jose-util","binary_version":"4.0.5-1ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116586.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}