Skip to content
Heist/ feed
Back to feed
Medium

Quadratic-time key_ops duplicate check lets a sub-1 MB JWKS body pin a CPU core for ~15 s

Type: advisorySources: OSV

`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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-89314
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:46 UTC · Revision 1

Source evidence

Quadratic-time key_ops duplicate check lets a sub-1 MB JWKS body pin a CPU core for ~15 s

core-osv · Original source

Published 23 Oct 2026, 08:43 UTC

`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.

osv:CVE-2026-89314
Complete source record
{
  "id": "67d68c496ebad7282b86438f993fc595152c2974af1ff86fd5d964544f0754fb",
  "url": "https://osv.dev/vulnerability/CVE-2026-89314",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 but hostile JWKS document could occupy a CPU core for many seconds.",
    "evidence": "osv:CVE-2026-89314",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-89314",
      "aliases": [
        "CVE-2026-89314",
        "GHSA-r56w-f43c-828p"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/eclipse-keypont/gose",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5e7aba5b0fab2fedfac84d7ea04d8cabc92ec625"
                },
                {
                  "last_affected": "bc195a14438f6607e266d8a12e529260272b060b"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "692c25c38e72e91a146c00598017e1a869e75ef6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.7.3"
                      },
                      {
                        "last_affected": "0.13.0-rc1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0-rc4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.12.1-rc1",
            "v0.12.0",
            "v0.13.0-rc1",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.7",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.8",
            "v0.7.7",
            "v0.7.6",
            "v0.7.5",
            "v0.7.4",
            "v0.7.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89314.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.775974161Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89314.json",
        "https://github.com/eclipse-keypont/gose/security/advisories/GHSA-r56w-f43c-828p",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89314"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-407"
        ],
        "cna_assigner": "eclipse",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89314.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89314",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506329,
  "published_at": "2026-10-23T08:43:38.475+00:00"
}