# CVE-2026-82965: Keycloak SAML XML denial of service via unbounded parsing

Source: https://junglewise.ai/threats/cve-2026-82965-a-flaw-was-found-in-the-saml-implementation-of-keycloak-an-open  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-05. Updated: 2026-11-05  
License: CC BY 4.0 with a link back

CVE-2026-82965 · Severity: high · CVSS 7.5 · Published 2026-11-05

Keycloak is an open-source identity and access management platform used to control user authentication and authorization across applications. An attacker can remotely send specially crafted XML messages to its SAML endpoints without authentication, causing the server to consume excessive memory and crash, denying service to all legitimate users.

Technologies: [Keycloak](https://junglewise.ai/threats/technologies/keycloak). Vendors: [Keycloak](https://junglewise.ai/threats/vendors/keycloak).

## Quick answers

**Is CVE-2026-82965 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-82965 being exploited in the wild.

**How severe is CVE-2026-82965?** High severity, with a CVSS score of 7.5, published 5 November 2026.

**Which products and versions are affected?** Keycloak Keycloak.

**Is there a fix for CVE-2026-82965?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-82965 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-82965?** Check whether you run Keycloak. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The SAML Artifact Resolution and ECP SOAP endpoints in Keycloak fail to properly validate the size and complexity of incoming XML requests (CWE-400: Uncontrolled Resource Consumption). An unauthenticated attacker on the network can send large, specially crafted XML payloads that trigger unbounded memory allocation, causing the application to crash and resulting in denial of service for all users.

## Affected products

- Keycloak Keycloak

## Timeline

- 2026-11-05: disclosed

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-82965](https://access.redhat.com/security/cve/CVE-2026-82965)

## Related threats

- [Keycloak login-failure storage synchronization error in MySQL/MariaDB](https://junglewise.ai/threats/cve-2026-112201-a-flaw-was-found-in-the-login-failure-storage-component-of)
- [Keycloak PKCE bypass in login after password reset](https://junglewise.ai/threats/cve-2026-125652-a-flaw-was-found-in-the-keycloak-services-component-of-keycloak)
- [Keycloak server arbitrary code execution in client authorization](https://junglewise.ai/threats/cve-2026-120984-a-flaw-was-found-in-the-keycloak-server-s-client-management)
- [Keycloak token sanitization bypass in protocol mapper](https://junglewise.ai/threats/cve-2026-97848-a-flaw-was-found-in-the-token-sanitization-logic-of-keycloak-an)
- [Keycloak Dynamic Client Registration privilege escalation](https://junglewise.ai/threats/cve-2026-96547-a-flaw-was-found-in-the-dynamic-client-registration-component-of)
