---
id: CVE-2026-89314
title: >-
  Quadratic-time key_ops duplicate check lets a sub-1 MB JWKS body pin a CPU
  core for ~15 s
summary: >-
  `jwkFields.CheckConsistency` detected duplicate `key_ops` entries with a
  pairwise nested loop, making validation cost grow with the **square** of the
  entry count. Because the check runs on every JWK and JWKS unmarshal, a
  modestly sized b…
severity: medium
cvss: 6.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-407
vendor: Eclipse Foundation
product: github.com/ThalesGroup/gose
affected:
  - github.com/ThalesGroup/gose >= 0.7.3 <= 0.13.0-rc1
  - github.com/eclipse-keypont/gose < 1.0.0-rc4
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T08:43:38.475Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-89314'
references:
  - url: >-
      https://github.com/eclipse-keypont/gose/security/advisories/GHSA-r56w-f43c-828p
tags:
  - cve.org
ingestedAt: '2026-10-23T09:20:44.060Z'
---

## Overview

`jwkFields.CheckConsistency` detected duplicate `key_ops` entries with a pairwise nested loop, making validation cost grow with the **square** of the entry count. Because the check runs on every JWK and JWKS unmarshal, a modestly sized but hostile JWKS document could occupy a CPU core for many seconds.

## Affected

- `github.com/ThalesGroup/gose >= 0.7.3 <= 0.13.0-rc1`
- `github.com/eclipse-keypont/gose < 1.0.0-rc4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
