CVE-2026-116585
CVE-2026-116585 · Go JOSE: Panic during CBC-HMAC processing
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.3%
- Published
- Updated
Stack: system
Affected products and versions
go-jose
- Versions
- < 4.1.5: Affected
No fix published
golang-github-go-jose-go-jose Debian:13
- Versions
- 4.0.5-1
- 4.1.3-1
- 4.1.4-1
- 4.1.4-1~bpo13+1
- 4.1.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Debian:14
- Versions
- 4.0.5-1
- 4.1.3-1
- 4.1.4-1
- 4.1.4-1~bpo13+1
- 4.1.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose.v3 Debian:13
- Versions
- 3.0.3-6
- 3.0.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose.v3 Debian:14
- Versions
- 3.0.3-6
- 3.0.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v1 Debian:12
- Versions
- 1.1.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v1 Debian:13
- Versions
- 1.1.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v1 Debian:14
- Versions
- 1.1.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Debian:12
- Versions
- 2.6.0-2
- 2.6.3-1
- 2.6.3-2
- 2.6.3-3
- 2.6.3-4
- 2.6.3-4~exp0
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Debian:13
- Versions
- 2.6.3-3
- 2.6.3-4
- 2.6.3-4~exp0
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Debian:14
- Versions
- 2.6.3-3
- 2.6.3-4
- 2.6.3-4~exp0
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Ubuntu:20.04:LTS
- Versions
- 2.3.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Ubuntu:22.04:LTS
- Versions
- 2.5.1-2
- 2.6.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:24.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Ubuntu:24.04:LTS
- Versions
- 2.6.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:26.10
- Versions
- 4.0.5-1build1
- 4.1.4-1
- 4.1.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose.v3 Ubuntu:26.10
- Versions
- 3.0.3-6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Ubuntu:26.10
- Versions
- 2.6.3-3
- 2.6.3-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose.v3 Ubuntu:26.04:LTS
- Versions
- 3.0.3-6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-gopkg-square-go-jose.v2 Ubuntu:26.04:LTS
- Versions
- 2.6.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-go-jose-go-jose Ubuntu:Pro:26.04:LTS
- Versions
- 4.0.5-1
- 4.0.5-1build1
- 4.0.5-1ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q
- https://github.com/go-jose/go-jose/pull/292
- https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6
- https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54
- https://github.com/go-jose/go-jose/releases/tag/v4.1.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-116585