CVE-2026-89318
JSON

6.9medium

JweRsaKeyEncryptionDecryptorImpl.Decrypt panics on attacker-chosen IV length (stdlib GCM.Open reached without nonce-size check)

Severity
6.9medium CVSS:4.0 by eclipse
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse

Description

`JweRsaKeyEncryptionDecryptorImpl.Decrypt` passed the JWE's initialization vector to `cipher.AEAD.Open` without checking its length. The Go standard library **panics** rather than returning an error when a GCM nonce is not exactly `NonceSize()` bytes, so a JWE carrying a wrong-sized IV crashes the decrypting goroutine.

Affected

Product or packageVersionsReported by
github.com/ThalesGroup/gosefrom 0.8.0 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 yes, technical impact partial.

References

Sources

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