{"id":"UBUNTU-CVE-2026-116587","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.6, go-jose parses attacker-controlled RSA modulus and prime values from JWKs without enforcing size and consistency bounds before passing them to crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large or degenerate RSA parameters can make that validation consume cubic CPU time, allowing remote denial of service in applications that parse JWKs from untrusted sources. This issue is fixed in version 4.1.6.","modified":"2026-10-28T20:17:46.091500724Z","published":"2026-10-26T22:16:00Z","upstream":["CVE-2026-116587"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116587"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116587"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/releases/tag/v4.1.6"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q"}],"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_version":"2.3.1-1","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-116587.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_version":"2.6.0-1","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-116587.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_name":"golang-github-go-jose-go-jose-dev","binary_version":"4.0.1-4ubuntu0.3"},{"binary_name":"jose-util","binary_version":"4.0.1-4ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116587.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-116587.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-116587.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-116587.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-116587.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-116587.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_name":"golang-gopkg-square-go-jose.v2-dev","binary_version":"2.6.3-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116587.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-116587.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}