# CVE-2026-89312: AesGcmCryptor.Open passes attacker-controlled nonce to cipher.AEAD.Open without length check, causing panic on wrong-size IV

- Severity: Medium 6.9 (CVSS:4.0, scored by eclipse) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-10-23T08:36:53.971Z
- Modified: 2026-11-02T13:17:39.140Z
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- github.com/ThalesGroup/gose: from 0.7.3 up to 0.13.0-rc1
- github.com/eclipse-keypont/gose: before 1.0.0-rc4

## References

- <https://github.com/eclipse-keypont/gose/security/advisories/GHSA-xx6h-2jgg-93m2>

## Sources

- CVE List: [CVE-2026-89312](https://www.cve.org/CVERecord?id=CVE-2026-89312), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-89312](https://nvd.nist.gov/vuln/detail/CVE-2026-89312), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-89312 · Whole record: https://cve.day/CVE-2026-89312.json · Rebuilt by cve.day 2026-11-25T22:59:46.868Z
