CVE-2026-89316
JSON

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 packageVersionsReported by
github.com/ThalesGroup/gosefrom 0.7.3 up to 0.13.0-rc1CVE List
github.com/eclipse-keypont/gosebefore 1.0.0-rc4CVE List

Classification

CWE-248

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-89316 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-89316 changed 2026-11-02Public domain