UBUNTU-CVE-2026-116587: High severity ubuntu/golang-gopkg-square-go-jose.v2 vulnerability

Published Oct 26, 2026
·
Updated

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.6, go-jose parses attacker-controlled RSA modulus and prime values from JWKs without enforcing size and consistency bounds before passing them to crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large or degenerate RSA parameters can make that validation consume cubic CPU time, allowing remote denial of service in applications that parse JWKs from untrusted sources. This issue is fixed in version 4.1.6.

Affected Software

10 affected components
ubuntu/golang-gopkg-square-go-jose.v2*
ubuntu/golang-gopkg-square-go-jose.v2*
ubuntu/golang-github-go-jose-go-jose*
ubuntu/golang-gopkg-square-go-jose.v2*
ubuntu/golang-github-go-jose-go-jose*
ubuntu/golang-github-go-jose-go-jose.v3*
ubuntu/golang-gopkg-square-go-jose.v2*
ubuntu/golang-github-go-jose-go-jose.v3*
ubuntu/golang-gopkg-square-go-jose.v2*
ubuntu/golang-github-go-jose-go-jose*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go-jose to a version that resolves this vulnerability.

    Fixed in 4.1.6

Event History

Oct 26, 2026
CVE Published
via OSV·10:16 PM
Data Sourced
via OSV·10:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service condition?

Applications are exposed if they use an affected go-jose version, run on Go 1.24 or later, and parse JWKs obtained from untrusted sources. The affected Ubuntu package names listed are golang-gopkg-square-go-jose.v2, golang-github-go-jose-go-jose, and golang-github-go-jose-go-jose.v3.

2

What must an attacker do to trigger the issue?

An attacker needs to supply a crafted JWK containing very large or degenerate RSA modulus or prime values. No authentication or user interaction is required according to the supplied vector.

3

What is the impact of successful exploitation?

Processing the malicious RSA key can cause crypto/rsa.PrivateKey.Validate to consume cubic CPU time on Go 1.24 and later. This can exhaust CPU resources and cause remote denial of service; no confidentiality or integrity impact is indicated.

4

What version contains the fix?

The issue is fixed in go-jose version 4.1.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203