CVE-2026-34986
CVE-2026-34986 · Go JOSE affect by a panic in JWE decryption
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Esta página muestra una selección de datos de las fuentes. Consulte los avisos enlazados para ver la descripción completa y las versiones afectadas.
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.4 and 3.0.5, decrypting a JSON Web Encryption (JWE) object will panic if the alg field indicates a key wrapping algorithm (one ending in KW, with the exception of A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty. The panic happens when cipher.KeyUnwrap() in key_wrap.go attempts to allocate a slice with a zero or negative length based on the length of the encrypted_key. This code path is reachable from ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() followed by Decrypt() on the resulting object. Note that the parse functions take a list of accepted key algorithms. If the accepted key algorithms do not include any key wrapping algorithms, parsing will fail and the application will be unaffected. This panic is also reachable by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes long, but calling this function directly is less common. Panics can lead to denial of service. This vulnerability is fixed in 4.1.4 and 3.0.5.
CVSS 7.5 · Alta · EPSS 0,7% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
go-jose
- Versiones
- >= 4.0.0, < 4.1.4: Afectada
- < 3.0.5: Afectada
Sin corrección publicada
golang-github-go-jose-go-jose Debian:13
- Versiones
- 4.0.5-1
- 4.1.3-1
- 4.1.4-1
- 4.1.4-1~bpo13+1
- 4.1.4-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose Debian:14
- Versiones
- 4.0.5-1
- 4.1.3-1
- 4.1.4-1~bpo13+1
- Intervalos de versiones afectados
- ECOSYSTEM: < 4.1.4-1
Actualiza a 4.1.4-1
golang-github-go-jose-go-jose.v3 Debian:13
- Versiones
- 3.0.3-6
- 3.0.5-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose.v3 Debian:14
- Versiones
- 3.0.3-6
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.0.5-1
Actualiza a 3.0.5-1
golang-gopkg-square-go-jose.v1 Debian:12
- Versiones
- 1.1.2-4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v1 Debian:13
- Versiones
- 1.1.2-4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v1 Debian:14
- Versiones
- 1.1.2-4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Debian:12
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Debian:13
- Versiones
- 2.6.3-3
- 2.6.3-4
- 2.6.3-4~exp0
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Debian:14
- Versiones
- 2.6.3-3
- 2.6.3-4
- 2.6.3-4~exp0
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:20.04:LTS
- Versiones
- 2.3.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:22.04:LTS
- Versiones
- 2.5.1-2
- 2.6.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose Ubuntu:24.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:24.04:LTS
- Versiones
- 2.6.0-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose Ubuntu:25.10
- Versiones
- 4.0.5-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose.v3 Ubuntu:25.10
- Versiones
- 3.0.3-6
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:25.10
- Versiones
- 2.6.3-3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose Ubuntu:26.10
- Versiones
- 4.0.5-1build1
- 4.1.4-1
- 4.1.4-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose.v3 Ubuntu:26.10
- Versiones
- 3.0.3-6
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:26.10
- Versiones
- 2.6.3-3
- 2.6.3-4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose.v3 Ubuntu:26.04:LTS
- Versiones
- 3.0.3-6
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-gopkg-square-go-jose.v2 Ubuntu:26.04:LTS
- Versiones
- 2.6.3-3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-github-go-jose-go-jose Ubuntu:Pro:26.04:LTS
- Versiones
- 4.0.5-1
- 4.0.5-1build1
- 4.0.5-1ubuntu0.26.04.1~esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/go-jose/go-jose/security/advisories/GHSA-78h2-9frx-2jm8
- https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constants
- https://access.redhat.com/security/cve/CVE-2026-34986
- https://bugzilla.redhat.com/show_bug.cgi?id=2455470
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34986.json
- https://access.redhat.com/errata/RHSA-2026:65906
- https://access.redhat.com/errata/RHSA-2026:65838
- https://access.redhat.com/errata/RHSA-2026:62548
- https://access.redhat.com/errata/RHSA-2026:66385
- https://access.redhat.com/errata/RHSA-2026:17789
- https://access.redhat.com/errata/RHSA-2026:60452
- https://access.redhat.com/errata/RHSA-2026:60444
- https://access.redhat.com/errata/RHSA-2026:60449
- https://access.redhat.com/errata/RHSA-2026:20569
- https://access.redhat.com/errata/RHSA-2026:19719
- https://access.redhat.com/errata/RHSA-2026:27856
- https://access.redhat.com/errata/RHSA-2026:17040
- https://access.redhat.com/errata/RHSA-2026:16696
- https://access.redhat.com/errata/RHSA-2026:22937
- https://access.redhat.com/errata/RHSA-2026:19135
- https://access.redhat.com/errata/RHSA-2026:22450
- https://access.redhat.com/errata/RHSA-2026:19017
- https://access.redhat.com/errata/RHSA-2026:33722
- https://nvd.nist.gov/vuln/detail/CVE-2026-34986