CVE-2026-89312
JSON

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 packageVersionsReported by
github.com/ThalesGroup/gosefrom 0.7.3 up to 0.13.0-rc1CVE List
github.com/eclipse-keypont/gosebefore 1.0.0-rc4CVE List

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-89312 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-89312 changed 2026-11-02Public domain