Skip to content
Medium 6.3

LoadPublicKey panics on kty/alg mismatch (kty=EC with a non-EC alg) via unchecked *ECDSAOptions type assertion

CVE-2026-89316 First seen on SecPulse

Affected packages

EcosystemPackageAffectedFixed
Eclipse Foundation Eclipse KeyPont - GOSE
< 1.0.0-rc4
1.0.0-rc4
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details