Vulnerability 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**.
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-89316?
CVE-2026-89316 is a documented vulnerability. `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 perm...
How severe is CVE-2026-89316?
CVSS scoring is not yet available for CVE-2026-89316. Check NVD for updates.
Is there a patch for CVE-2026-89316?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.