CVE-2026-89312
6.9medium
AesGcmCryptor.Open passes attacker-controlled nonce to cipher.AEAD.Open without length check, causing panic on wrong-size IV
- Severity
- 6.9medium CVSS:4.0 by eclipse
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/ThalesGroup/gose | from 0.7.3 up to 0.13.0-rc1 | CVE List |
| github.com/eclipse-keypont/gose | before 1.0.0-rc4 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-89312 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-89312 changed 2026-11-02 | Public domain |