Input validation error in gosaml2 - #VU144268
Published: August 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in EncryptedAssertion.DecryptBytes() when parsing a crafted SAML Response containing an EncryptedAssertion with a short or empty CipherValue in the AES-GCM or AES-CBC decryption path. A remote attacker can send a specially crafted SAML Response to cause a denial of service.
The panic occurs before signature or content validation completes, and no valid signature is required.