Skip to content

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

MediumCVSS 6.3 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Eclipse Foundation Eclipse KeyPont - GOSE < 1.0.0-rc4; >= 0.7.3, <= 0.13.0-rc1 1.0.0-rc4 Fixed

Affected products

ProductAffected versionsFixed in
Eclipse Foundation Eclipse KeyPont - GOSE >= 0.7.3, <= 0.13.0-rc1 No fix listed
Eclipse Foundation Eclipse KeyPont - GOSE < 1.0.0-rc4 1.0.0-rc4

References