llamaCVEVulnerability Intelligence
/
gosaml2

CVE-2026-128073

gosaml2 denial of service in encrypted SAML assertion decryption

Unauthenticated remote attackers can crash the request or the service process with a crafted encrypted assertion.

UnclearParche disponibleimproper input validation
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -104 d de la divulgación
Exposición2 dDesde la divulgación, 17 nov 2026, 2:39 p. m.
Detección53 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v0.12.0
Monitoreo
Detectada
Fuente: ENISA EUVD +2
5 ago 26
17 nov 26
19 nov 26
20 nov 26
5 ago 26
1 sept 26
28 sept 26
24 oct 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche v0.12.0 github.com/russellhaering/gosaml2 · -104 d desde divulgación
Divulgación Publicada CVE-2026-128073 divulgada · CVSS 7.5 (CNA)
Monitoreo Detectada Ingresó al índice
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 17 nov 2026

gosaml2, a Go implementation of SAML 2.0, can be crashed by a specially crafted encrypted assertion that an attacker sends remotely, without logging in. The attacker needs only the service provider's public certificate, and the resulting panic can terminate the request or the whole service process.

Affects gosaml2 service providers that parse SAML Responses containing an EncryptedAssertion with AES-GCM or AES-CBC metadata and a short or empty CipherValue. Fixed in 0.12.0.

¿Qué significa?A small, malformed EncryptedAssertion with a short or empty CipherValue makes the library panic while decrypting it. This can crash the service provider process or the request goroutine, causing denial of service. No authentication is needed to send the payload.
¿Quién está afectado?The affected range is gosaml2 versions before 0.12.0, in service providers that parse SAML Responses containing an EncryptedAssertion. To check a project, look at the gosaml2 version pinned in go.mod, or run go list -m github.com/russellhaering/gosaml2.
¿Qué hacer?Upgrade gosaml2 to 0.12.0 or later.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Service provider parses SAML Responses containing an EncryptedAssertion, using AES-GCM or AES-CBC encryption metadata with a short or empty CipherValue.“sending an EncryptedAssertion with AES-GCM encryption metadata and a CipherValue shorter than the GCM nonce size”
02
The empty AES-CBC CipherValue case also triggers the panic.“so an empty CipherValue passes the modulo check and panics on the following slice”
¿Quién debe revisar?Teams running gosaml2 0.11.0 or earlier as a SAML service provider that parses SAML Responses containing EncryptedAssertion elements.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
gosaml2 · github.com/russellhaering/gosaml2< 0.12.0
0.12.0
v0.12.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/russellhaering/gosaml2
Corregida v0.12.0 -104 d v0.12.0 no afectada
Versiones corregidas0.12.0v0.12.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6
Otrahttps://github.com/russellhaering/gosaml2/pull/281
Otrahttps://github.com/russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20
Otrahttps://github.com/russellhaering/gosaml2/releases/tag/v0.12.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.