High severity · published Apr 6, 2026
CVE-2026-34986
Go JOSE affect by a panic in JWE decryption
7.5
CVSS
0.7%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
go-jose · go-jose
>= 4.0.0, < 4.1.4; < 3.0.5 · source: vendor, NVD
C4
Cryostat 4 on RHEL 9 · Red Hat
All versions, or not specified · source: CISA
CM
Custom Metric Autoscaler 2.19 · Red Hat
All versions, or not specified · source: CISA
LS
Logging Subsystem for Red Hat OpenShift 6.4 · Red Hat
All versions, or not specified · source: CISA
LF
Logging for Red Hat OpenShift 6 · Red Hat
All versions, or not specified · source: CISA
LF
Logging for Red Hat OpenShift 6.2 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.3.4 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.4.5 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.6.5 · Red Hat
All versions, or not specified · source: CISA
OA
OpenShift API for Data Protection 1.3 · Red Hat
All versions, or not specified · source: CISA
OA
OpenShift API for Data Protection 1.4 · Red Hat
All versions, or not specified · source: CISA
OA
OpenShift API for Data Protection 1.5 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-34986
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-34986
Mitigation
https://github.com/go-jose/go-jose/security/advisories/GHSA-78h2-9frx-2jm8
Product
https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constants
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10125
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10130
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10135
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10175
More from go-jose
7.5
CVE-2026-116587
Go JOSE: DoS when parsing JWKs that contain RSA keys
6.9
CVE-2026-116586
Go JOSE: Panics in JSON parsing
6.9
CVE-2026-116585
Go JOSE: Panic during CBC-HMAC processing
