cve.bz

CVE-2026-34986 go-jose project go-jose: Uncaught Exception

7.5 highEPSS 0.7%Fix available

High (7.5) in go-jose project go-jose. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-jose/go-jose/v4 4.1.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-248 Uncaught Exception
CWE-131 Incorrect Calculation of Buffer Size
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34986 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34986?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34986?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34986 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
go-jose_project:go-josefrom 3.0.0 before 3.0.5
go-jose_project:go-josefrom 4.0.0 before 4.1.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-78h2-9frx-2jm8Gogithub.com/go-jose/go-jose/v4<4.1.44.1.4
GHSA-78h2-9frx-2jm8Gogithub.com/go-jose/go-jose/v3<3.0.53.0.5
GHSA-78h2-9frx-2jm8Gogithub.com/go-jose/go-jose<=2.6.3no fix published
GO-2026-4945Gogithub.com/go-jose/go-jose/v3<3.0.53.0.5
GO-2026-4945Gogithub.com/go-jose/go-jose/v4<4.1.44.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 14golang-gopkg-square-go-jose.v1, golang-gopkg-square-go-jose.v2no fix listedDEBIAN-CVE-2026-34986
Debian13golang-github-go-jose-go-jose, golang-gopkg-square-go-jose.v1, golang-gopkg-square-go-jose.v2 and 1 moreno fix listedDEBIAN-CVE-2026-34986
Debian14golang-github-go-jose-go-jose4.1.4-1DEBIAN-CVE-2026-34986
Debian14golang-github-go-jose-go-jose.v33.0.5-1DEBIAN-CVE-2026-34986
Ubuntu20.04:LTS, 22.04:LTSgolang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-34986
Ubuntu24.04:LTSgolang-github-go-jose-go-jose, golang-gopkg-square-go-jose.v2no fix listedUBUNTU-CVE-2026-34986
Ubuntu25.10, 26.10golang-github-go-jose-go-jose, golang-gopkg-square-go-jose.v2, golang-github-go-jose-go-jose.v3no fix listedUBUNTU-CVE-2026-34986
Ubuntu26.04:LTSgolang-gopkg-square-go-jose.v2, golang-github-go-jose-go-jose.v3no fix listedUBUNTU-CVE-2026-34986
UbuntuPro:26.04:LTSgolang-github-go-jose-go-joseno fix listedUBUNTU-CVE-2026-34986
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.14-3.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.14-4.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamconmon3:2.1.10-1.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-3.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-3.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-8.module+el8.10.0+24321+617e8352RHSA-2026:33722
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-8.module+el8.10.0+24482+e50f4e4fRHSA-2026:35833
101 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1podman4.9.5-150300.9.78.1SUSE-SU-2026:2636-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 12 morecontainerd1.7.29-150000.137.1SUSE-SU-2026:2639-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 moreskopeo1.14.4-150300.11.25.1SUSE-SU-2026:5193-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moredistribution3.1.1-150400.9.41.1SUSE-SU-2026:4212-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.74.2SUSE-SU-2026:2693-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morebuildah1.35.5-150400.3.68.1SUSE-SU-2026:2706-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 5 morepodman4.9.5-150500.3.73.2SUSE-SU-2026:2715-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Containers 15 SP7 and 4 morebuildah1.35.5-150500.3.62.1SUSE-SU-2026:2733-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for HPC 15 SP7 and 1 morewarewulf44.7.0-150500.6.42.1SUSE-SU-2026:2830-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 2 morecontainerd1.7.29-150000.142.1SUSE-SU-2026:3450-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-guest-agent20260529.00-150000.1.70.1SUSE-SU-2026:2612-1
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.16.1-150700.15.20.1SUSE-SU-2026:2438-1
51 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0containerd1.7.33-160000.1.1openSUSE-SU-2026:21213-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0google-cloud-sap-agent3.15-160000.1.1openSUSE-SU-2026:21010-1
openSUSELeap 16.0google-guest-agent20260430.00-160000.1.1openSUSE-SU-2026:20969-1
openSUSELeap 16.0google-osconfig-agent20260615.01-160000.1.2openSUSE-SU-2026:21210-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0grafana11.6.14+security04-bp160.1.1openSUSE-SU-2026:20940-1
openSUSELeap 16.0podman5.4.2-160000.5.1openSUSE-SU-2026:21244-1
openSUSELeap 16.0warewulf44.7.0-bp160.1.1openSUSE-SU-2026:21151-1
openSUSELeap 16.0warewulf44.7.1-bp160.1.1openSUSE-SU-2026:21918-1
openSUSETumbleweedalloy1.16.1-1.1openSUSE-SU-2026:10744-1
openSUSETumbleweedapptainer1.4.5-4.1openSUSE-SU-2026:10700-1
21 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3901+4b80ecd7ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4047+545787c4ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4089+ce72bbbeALSA-2026:33722 ALSA-2026:35833
AlmaLinux8buildah, buildah-tests2:1.33.14-3.module_el8.10.0+4211+49ea0979ALSA-2026:33722
AlmaLinux8buildah, buildah-tests2:1.33.14-4.module_el8.10.0+4213+0493256bALSA-2026:35833
AlmaLinux8buildah-tests2:1.33.14-3.module_el8.10.0+4136+16425343ALSA-2026:33722
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+4102+6c76e544ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3970+8445edf6ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4068+0e21408fALSA-2026:33722 ALSA-2026:35833
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4090+91932338ALSA-2026:33722 ALSA-2026:35833
AlmaLinux8container-selinux2:2.229.0-3.module_el8.10.0+4211+49ea0979ALSA-2026:33722
59 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40047+0c0a73f4RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40133+32c21f88RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8buildah2:1.33.14-3.module+el8.10.0+40133+32c21f88RLSA-2026:33722
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2026:33722 RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2026:33722 RLSA-2026:35833
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2026:33722 RLSA-2026:35833

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important impact denial of service vulnerability in the Go JOSE library can be triggered by a crafted JSON Web Encryption (JWE) object specifying a key wrapping algorithm with an empty encrypted_key field, causing a panic and application crash. Applications that parse and decrypt JWE objects from untrusted sources are affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.2.0-13Fixed 2026-05-26RHSA-2026:17789
Red Hat Enterprise Linux 10podman-7:5.8.2-1.el10_2Fixed 2026-05-19RHSA-2026:19017
Red Hat Enterprise Linux 10opentelemetry-collector-0:0.144.0-2.el10_2Fixed 2026-05-19RHSA-2026:19135
Red Hat Enterprise Linux 10osbuild-composer-0:165.1-2.el10_2Fixed 2026-06-02RHSA-2026:22450
Red Hat Enterprise Linux 10image-builder-0:52.1-1.el10_2Fixed 2026-06-03RHSA-2026:22937
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Red Hat Enterprise Linux 10.0 Extended Update Supportskopeo-2:1.18.1-3.el10_0.1Fixed 2026-05-13RHSA-2026:16696
Red Hat Enterprise Linux 10.0 Extended Update Supportpodman-6:5.4.0-15.el10_0.1Fixed 2026-05-13RHSA-2026:17040
Red Hat Enterprise Linux 10.0 Extended Update Supportopentelemetry-collector-0:0.144.0-2.el10_0Fixed 2026-05-20RHSA-2026:19719
Red Hat Enterprise Linux 10.0 Extended Update Supportbuildah-2:1.39.9-1.el10_0Fixed 2026-05-26RHSA-2026:20569
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-bundleNot affected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Will not fix
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/bitwarden-sdk-server-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-bundleNot affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Not affected
676 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-34986.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON