CVE-2026-89316
6.3medium
LoadPublicKey panics on kty/alg mismatch (kty=EC with a non-EC alg) via unchecked *ECDSAOptions type assertion
- Severity
- 6.3medium CVSS:4.0 by eclipse
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
Description
`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**.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/ThalesGroup/gose | from 0.7.3 up to 0.13.0-rc1 | CVE List |
| github.com/eclipse-keypont/gose | before 1.0.0-rc4 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-89316 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-89316 changed 2026-11-02 | Public domain |