go-jose up to 3.0.4/4.1.3 on JSON cipher.KeyUnwrap uncaught exception
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in go-jose up to 3.0.4/4.1.3 on JSON. It has been rated as problematic. Affected by this issue is the function cipher.KeyUnwrap. The manipulation leads to uncaught exception.
This vulnerability is referenced as CVE-2026-34986. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability, which was classified as problematic, has been found in go-jose up to 3.0.4/4.1.3 on JSON. This issue affects the function cipher.KeyUnwrap. The manipulation with an unknown input leads to a uncaught exception vulnerability. Using CWE to declare the problem leads to CWE-248. An exception is thrown from a function, but it is not caught. Impacted is availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-34986 since 03/31/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 306612 (Fedora 43 : moby-engine (2026-a5015b57b9)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.0.5 or 4.1.4 eliminates this vulnerability.
The vulnerability is also documented in the databases at CNNVD (CNNVD-202604-991), Tenable (306612) and CERT Bund (WID-SEC-2026-1268). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- IBM MQ
- Red Hat OpenShift
- Splunk Splunk Enterprise
Product
Name
Version
Website
- Product: https://github.com/go-jose/go-jose/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Uncaught exceptionCWE: CWE-248
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 306612
Nessus Name: Fedora 43 : moby-engine (2026-a5015b57b9)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: go-jose 3.0.5/4.1.4
Timeline
03/31/2026 CVE reserved04/06/2026 Advisory disclosed
04/06/2026 VulDB entry created
07/20/2026 VulDB entry last update
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2026-34986 (🔒)
GCVE (CVE): GCVE-0-2026-34986
GCVE (VulDB): GCVE-100-355565
CERT Bund: WID-SEC-2026-1268 - Red Hat Enterprise Linux (go-jose): Schwachstelle ermöglicht Denial of Service
CNNVD: CNNVD-202604-991 - Go JOSE 安全漏洞
Entry
Created: 04/06/2026 18:48Updated: 07/20/2026 14:23
Changes: 04/06/2026 18:48 (63), 04/08/2026 13:31 (6), 04/16/2026 08:37 (2), 05/20/2026 14:29 (7), 06/20/2026 01:56 (1), 07/20/2026 14:23 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.