Security mailing lists by PureSourceCode

CVE-2026-128073

HIGH 7.5CVSS 3.1

gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue

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.

Published
17 Nov 2026
Last modified
19 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-20CWE-248
Also known as
GHSA-5hj8-q7fv-qrj6
Sources
NVDJSONCVE ListJSONOSV GHSA-5hj8-q7fv-qrj6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List GitHub_M CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List russellhaering gosaml2 = < 0.12.0
OSV Go github.com/russellhaering/gosaml2 < 0.12.0 0.12.0

References

History

  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 17 Nov 2026)
  • 25 Nov 2026 20:10 UTC · CVE List: first stored (published 17 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.