{"id":"CVE-2026-89312","state":"PUBLISHED","title":"AesGcmCryptor.Open passes attacker-controlled nonce to cipher.AEAD.Open without length check, causing panic on wrong-size IV","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.","publishedAt":"2026-10-23T08:36:53.971Z","updatedAt":"2026-10-23T08:36:53.971Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"eclipse"},"assigner":"eclipse","products":["Eclipse Foundation Eclipse KeyPont - GOSE"],"affected":[{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/ThalesGroup/gose","defaultStatus":"unaffected","versions":[{"version":"0.7.3","status":"affected","lessThanOrEqual":"0.13.0-rc1","versionType":"semver"}]},{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/eclipse-keypont/gose","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0-rc4","versionType":"semver"}]}],"references":["https://github.com/eclipse-keypont/gose/security/advisories/GHSA-xx6h-2jgg-93m2"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89312.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89312","state":"PUBLISHED","datePublished":"2026-10-23T08:36:53.971Z","dateUpdated":"2026-10-23T08:36:53.971Z","assignerShortName":"eclipse","assignerOrgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateReserved":"2026-09-11T13:55:42.953Z"},"containers":{"cna":{"title":"AesGcmCryptor.Open passes attacker-controlled nonce to cipher.AEAD.Open without length check, causing panic on wrong-size IV","descriptions":[{"lang":"en","value":"`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":[{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/ThalesGroup/gose","defaultStatus":"unaffected","versions":[{"version":"0.7.3","status":"affected","lessThanOrEqual":"0.13.0-rc1","versionType":"semver"}]},{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/eclipse-keypont/gose","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0-rc4","versionType":"semver"}]}],"references":[{"url":"https://github.com/eclipse-keypont/gose/security/advisories/GHSA-xx6h-2jgg-93m2"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.9,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248 Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"eclipse","orgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateUpdated":"2026-10-23T08:36:53.971Z"},"credits":[{"lang":"en","value":"Eclipse Foundation Security Team","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}}}}}