CVE-2026-34986
highpriority · track · 0EPSS 0.007 · 51 %ileDEEUFRUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (68)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux 9 Multicluster Engine for Kubernetes 2.8.6all versionscert_bundDEcpe:/o:redhat:enterprise_linux:9_multicluster_engine_for_kubernetes_2.8.6
- Red Hat Enterprise Linux 9.6 Extended Update Supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:9.6_extended_update_support
- Red Hat Enterprise Linux Extended Update Supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:extended_update_support
- Red Hat OpenShift API for Data Protectionall versionscert_bundDEcpe:/a:redhat:openshift:api_for_data_protection
- Red Hat OpenShift Container Platformall versionscert_bundDEcpe:/a:redhat:openshift:container_platform
- Red Hat OpenShift Container Platform release 4.21.17all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_release_4.21.17
- Red Hat OpenShift Data Foundation 4.17.24all versionscert_bundDEcpe:/a:redhat:openshift:data_foundation_4.17.24
- Red Hat OpenShift Data Foundation 4.18.20all versionscert_bundDEcpe:/a:redhat:openshift:data_foundation_4.18.20
advisories (5)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1268Red Hat Enterprise Linux (go-jose): Schwachstelle ermöglicht Denial of ServiceDeutsch2026-04-26csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um einen Denial of Service Angriff durchzuführen.
- WID-SEC-W-2026-2929Splunk Splunk Enterprise: Mehrere SchwachstellenDeutsch2026-08-19csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Splunk Splunk Enterprise ausnutzen, um beliebigen Code auszuführen, Berechtigungen zu erweitern, Sicherheitsmaßnahmen zu umgehen, SQL-Injection-, serverseitige Request-Forgery- und Cross-Site-Scripting-Angriffe durchzuführen, sensible Informationen offenzulegen oder zu manipulieren, Denial-of-Service-Zustände auszulösen oder andere, nicht näher spezifizierte Angriffe durchzuführen.
- GHSA-78h2-9frx-2jm8Go JOSE Panics in JWE decryption2026-04-03ghsa · osvUS
### Impact Decrypting a JSON Web Encryption (JWE) object will panic if the `alg` field indicates a key wrapping algorithm ([one ending in `KW`](https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constants), 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. ### Fixed In 4.1.4 and v3.0.5 ### Workarounds If the list of `keyAlgorithms` passed to `ParseEncrypted()` / `ParseEncryptedJSON()` / `ParseEncryptedCompact()` does not include key wrapping algorithms (those ending in `KW`), your application is unaffected. If your application uses key wrapping, you can prevalidate to the JWE objects to ensure the `encrypted_key` field is nonempty. If your application accepts JWE Compact Serialization, apply that validation to the corresponding field of that serialization (the data between the first and second `.`). ### Thanks Thanks to Datadog's Security team for finding this issue.
- CERTFR-2026-AVI-1385Multiples vulnérabilités dans les produits VMwareFrançais2026-10-26vendor · certfrFR
- GO-2026-4945Go JOSE Panics in JWE decryption in github.com/go-jose/go-jose2026-05-26vendor · osvUS
The go-jose package is subject to a panic when decrypting certain JSON Web Encryption (JWE) tokens. This occurs when an attacker can provide a maliciously crafted JWE token that triggers an unhandled exception during the decryption process, leading to a denial-of-service.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (156)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-34986cnnvd
- https://github.com/go-jose/go-jose/releasesPatchcnnvd
- https://github.com/go-jose/go-jose/security/advisories/GHSA-78h2-9frx-2jm8cnnvd
- https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constantscnnvd
- https://github.com/go-jose/go-jose/security/advisories/GHSA-78h2-9frx-2jm8enisa_euvd
- https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constantsenisa_euvd
- https://access.redhat.com/errata/RHSA-2026:10125nvd
- https://access.redhat.com/errata/RHSA-2026:10130nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan