# CVE-2026-89316: LoadPublicKey panics on kty/alg mismatch (kty=EC with a non-EC alg) via unchecked \*ECDSAOptions type assertion

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-23 · Modified: 2026-11-02
- Record: https://cvemate.com/vulnerability/CVE-2026-89316 · JSON: https://cvemate.com/vulnerability/CVE-2026-89316/json

## Description

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

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.27%, percentile 20.453%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- eclipse foundation eclipse keypont - gose: ≥ 0.7.3, ≤ 0.13.0-rc1 \| \< 1.0.0-rc4

## References

- <https://github.com/eclipse-keypont/gose/security/advisories/GHSA-fv39-8484-f4wr>

---

Data as of 2026-12-05T03:57:32.320Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
