Go Stdlib AesGcmCryptor.Panic on WrongSized GCM Nonce
CVE-2026-89312 Published on October 23, 2026
AesGcmCryptor.Open passes attacker-controlled nonce to cipher.AEAD.Open without length check, causing panic on wrong-size IV
`AesGcmCryptor.Open` passed a caller-supplied nonce straight 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.
Vulnerability Analysis
CVE-2026-89312 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Uncaught Exception
An exception is thrown from a function, but it is not caught. When an exception is not caught, it may cause the program to crash or expose sensitive information.
Affected Versions
Eclipse Foundation Eclipse KeyPont - GOSE:- Version 0.7.3, <= 0.13.0-rc1 is affected.
- Before 1.0.0-rc4 is affected.