{
  "id": "CVE-2026-128073",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-128073",
  "published_at": "2026-11-17T19:39:24.637Z",
  "title": "gosaml2: Unauthenticated panic decrypting an EncryptedAssertion with a short or empty CipherValue",
  "vendor": "russellhaering",
  "product": "gosaml2",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "russellhaering",
        "product": "gosaml2",
        "ranges": [
          "\u003c 0.12.0"
        ],
        "fixed_in": [
          "0.12.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade gosaml2 to 0.12.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/russellhaering/gosaml2/pull/281"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/russellhaering/gosaml2/releases/tag/v0.12.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
