{"id":"UBUNTU-CVE-2026-116585","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, decrypting untrusted JWE ciphertext with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an empty ciphertext buffer to CBC-HMAC unpadding. Insufficient validation allows the empty buffer to be indexed, causing a panic and denial of service. Applications that decrypt attacker-controlled ciphertext with one of these content-encryption algorithms are affected. This issue is fixed in version 4.1.5.","modified":"2026-10-28T20:15:58.321165210Z","published":"2026-10-26T22:16:00Z","upstream":["CVE-2026-116585"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116585"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116585"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54"},{"type":"REPORT","url":"https://github.com/go-jose/go-jose/pull/292"},{"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-4w3g-jfj2-cw2q"}],"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-116585.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-116585.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-116585.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-116585.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-116585.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-116585.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_version":"2.6.3-4","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-116585.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-116585.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-116585.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-116585.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"}]}