Vulnerability Description
`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.
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-89312?
CVE-2026-89312 is a documented vulnerability. `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 no...
How severe is CVE-2026-89312?
CVSS scoring is not yet available for CVE-2026-89312. Check NVD for updates.
Is there a patch for CVE-2026-89312?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.