CVE-2026-128073
published high CVSS 3.1 · 7.5gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| russellhaering | — | gosaml2< 0.12.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| russellhaering | gosaml2 | < 0.12.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-248 CWE-248: Uncaught Exception
References
4Provider assertions
2GitHub_M · cna
gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1abfceb36bda58e89383d06ffda437cce641d9812e7dd2517ac0564bd93c3bd8
- Ingested
- 19 Nov 2026, 04:16:03 UTC
- Source record
- Official CVE record