{"id":"CVE-2026-128073","sourceIdentifier":"security-advisories@github.com","published":"2026-11-17T20:17:42.827","lastModified":"2026-11-19T04:17:24.673","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"gosaml2 is a Pure Go implementation of SAML 2.0. Prior to 0.12.0, ValidateEncodedResponse() calls decryptAssertions() on an EncryptedAssertion before signature or content validation completes, and EncryptedAssertion.DecryptBytes() in types/encrypted_assertion.go slices decoded ciphertext without first validating the required nonce or initialization-vector length. A CipherValue shorter than the 12-byte AES-GCM nonce causes a slice-bounds panic, and an empty AES-CBC CipherValue passes the modulo block-size check before causing a slice-bounds panic at the 16-byte initialization-vector split. An attacker needs only the service provider's public certificate to wrap a symmetric key, and no valid identity-provider signature or relationship is required. The unrecovered panic can terminate the request goroutine or the service process. This issue is fixed in version 0.12.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"russellhaering","product":"gosaml2","versions":[{"version":"< 0.12.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-19T04:06:29.748013Z","id":"CVE-2026-128073","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-20"},{"lang":"en","value":"CWE-248"}]}],"references":[{"url":"https://github.com/russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20","source":"security-advisories@github.com"},{"url":"https://github.com/russellhaering/gosaml2/pull/281","source":"security-advisories@github.com"},{"url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.12.0","source":"security-advisories@github.com"},{"url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6","source":"security-advisories@github.com"},{"url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}