{
  "affected": [
    {
      "ranges": [
        {
          "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "5e7aba5b0fab2fedfac84d7ea04d8cabc92ec625"
            },
            {
              "last_affected": "bc195a14438f6607e266d8a12e529260272b060b"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "692c25c38e72e91a146c00598017e1a869e75ef6"
            }
          ],
          "repo": "https://github.com/eclipse-keypont/gose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fv39-8484-f4wr"
  ],
  "database_specific": {
    "cna_assigner": "eclipse",
    "cwe_ids": [
      "CWE-248"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89316.json"
  },
  "details": "`LoadPublicKey` resolved an EC key's curve with an unchecked type assertion, `algToOptsMap[alg].(*ECDSAOptions)`. A JWK declaring `\"kty\":\"EC\"` together with a non-EC `\"alg\"` — which RFC 7517 §4.4 permits — reaches that assertion and **panics**.",
  "id": "CVE-2026-89316",
  "modified": "2026-11-04T02:30:41.933077443Z",
  "published": "2026-10-23T08:48:08.682Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89316.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/eclipse-keypont/gose/security/advisories/GHSA-fv39-8484-f4wr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89316"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LoadPublicKey panics on kty/alg mismatch (kty=EC with a non-EC alg) via unchecked *ECDSAOptions type assertion"
}