Inefficient Algorithmic Complexity in go-jose - CVE-2026-116587

 

Inefficient Algorithmic Complexity in go-jose - CVE-2026-116587

Published: October 21, 2026 / Updated: November 2, 2026


Vulnerability identifier: #VU156642
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-116587
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through excessive CPU consumption.

The vulnerability exists due to missing bounds checks on RSA modulus and prime values in go-jose's JWK parser when parsing untrusted RSA keys. A remote attacker can supply a crafted JWK containing oversized RSA parameters that are passed directly to crypto/rsa.PrivateKey.Validate() to exhaust CPU resources and cause a denial of service.

On Go 1.24 and later, RSA key validation takes cubic time with respect to the RSA modulus and primes.


Affected software

go-jose
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro
Basesystem Module
openSUSE Leap
skopeo
skopeo-debuginfo
skopeo-fish-completion
skopeo-zsh-completion
skopeo-bash-completion

How to mitigate CVE-2026-116587

Install security update from vendor's website.

go-jose - update to 4.1.6
skopeo - update to 1.14.4-150300.11.25.1
skopeo-debuginfo - update to 1.14.4-150300.11.25.1
skopeo-fish-completion - update to 1.14.4-150300.11.25.1
skopeo-zsh-completion - update to 1.14.4-150300.11.25.1
skopeo-bash-completion - update to 1.14.4-150300.11.25.1

External References

Related Security Bulletins