Input validation error in gosaml2 - #VU144268

 

Input validation error in gosaml2 - #VU144268

Published: August 19, 2026


Vulnerability identifier: #VU144268
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

gosaml2

Remediation

Install security update from vendor's website.

gosaml2 - update to 0.12.0

External References

Related Security Bulletins