KeygraphLabs · CVE MCP

CVE-2026-2575 · redhat

Keycloak: keycloak: denial of service due to excessive samlrequest decompression

A flaw was found in Keycloak. An unauthenticated remote attacker can trigger an application level Denial of Service (DoS) by sending a highly compressed SAMLRequest through the SAML Redirect Binding. The server fails to enforce size limits during DEFLATE decompression, leading to an OutOfMemoryError (OOM) and subsequent process termination. This vulnerability allows an attacker to disrupt the availability of the service.

Published 2026-03-18, last changed 2026-11-25. Weakness: CWE-409.

CVSS
5.3
medium, from the CNA
EPSS
0.71%
percentile 54.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.keycloak:keycloak-saml-adapter-core 26.5.4 (Maven); org.keycloak:keycloak-saml-core 26.5.4 (Maven); org.keycloak:keycloak-services 26.5.4 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in keycloak/keycloak by 4f90ef67f6, 458d6ad623, faebdec8c6. Functions changed by the fix: handleSamlRequest, extractRedirectBindingResponse, parseRequestRedirectBinding, parseResponseRedirectBinding, DeflateUtil, decode, LimitedInflaterInputStream, checkMaxInflatingsize, read, markSupported, reset, mark. Regression tests: services/src/test/java/org/keycloak/test/broker/saml/SAMLParsingTest.java, docs/documentation/tests/pom.xml, quarkus/tests/integration/pom.xml, quarkus/tests/junit5/pom.xml. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2026-03-18Published
2026-03-18Package advisory GHSA-xv6h-r36f-3gp5
2026-11-25Record last changed
2026-11-30EPSS when our history starts: 0.97%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-xv6h-r36f-3gp5org.keycloak:keycloak-saml-adapter-core (Maven)26.5.4
GHSA-xv6h-r36f-3gp5org.keycloak:keycloak-saml-core (Maven)26.5.4
GHSA-xv6h-r36f-3gp5org.keycloak:keycloak-services (Maven)26.5.4

Also known as: GHSA-xv6h-r36f-3gp5

Credited: Red Hat would like to thank Sho Odagiri (GMO Cybersecurity by Ierae, Inc.) for reporting this issue. (other)

Related

CVEPublishedCVSSSummary
CVE-2018-108942018-08-015.4same package: org.keycloak:keycloak-saml-adapter-core (Maven)
CVE-2026-73072026-05-197.5Keycloak: keycloak: denial of service via specially crafted saml input
CVE-2024-86982024-09-197.7Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
CVE-2021-38272022-08-236.8same package: org.keycloak:keycloak-saml-core (Maven)
CVE-2026-189632026-08-189.1Keycloak-services: keycloak-services: unauthenticated account takeover via reset-credentials flow bypass
CVE-2026-118002026-06-258.1Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion
CVE-2026-98002026-06-258.1Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison
CVE-2026-97992026-06-254.6Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2026-2575, or call /api/v1/vulnerabilities/CVE-2026-2575. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org