What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Eclipse Foundation Eclipse KeyPont - GOSE 1.0.0-rc4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89318 or the next vulnerability affects your stack