Medium
LoadPublicKey panics on kty/alg mismatch (kty=EC with a non-EC alg) via unchecked *ECDSAOptions type assertion
`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**.
Announced Source revision 1
Original source ↗CVE-2026-89316
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89316
Eclipse KeyPont - GOSE
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Eclipse KeyPont - GOSE
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "Eclipse Foundation",
"product": "Eclipse KeyPont - GOSE",
"versions": [
{
"status": "affected",
"version": "0.7.3",
"versionType": "semver",
"lessThanOrEqual": "0.13.0-rc1"
}
],
"packageName": "github.com/ThalesGroup/gose",
"defaultStatus": "unaffected"
},
{
"vendor": "Eclipse Foundation",
"product": "Eclipse KeyPont - GOSE",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.0.0-rc4",
"versionType": "semver"
}
],
"packageName": "github.com/eclipse-keypont/gose",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-89316
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #52624 · Revision 1
- Added to Heist Feed
- Publisher date