CVE-2026-89316

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

State
Published
Severity
6.3 Medium
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:Neclipse

Weaknesses

Affected Products

ProductVersions
Eclipse KeyPont - GOSEEclipse Foundation
  • 0.7.3 through 0.13.0-rc1Affected
Eclipse KeyPont - GOSEEclipse Foundation
  • before 1.0.0-rc4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.