CVE-2026-2575
Keycloak: Denial of Service due to excessive SAMLRequest decompression
Description
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-saml-adapter-core | < 26.5.4 | 26.5.4 |
| org.keycloak » keycloak-saml-core | < 26.5.4 | 26.5.4 |
| org.keycloak » keycloak-services | < 26.5.4 | 26.5.4 |
Blast radius
100% of the dependent artifacts (213) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,173 |
| 2 hops | 5,653 |
| 3 hops | 2,823 |
| 4 hops | 2,096 |
| 5 hops | 163 |
| 6 hops | 80 |
Most used dependents
- org.keycloak » keycloak-model-jpa62 usages
- org.keycloak » keycloak-ldap-federation32 usages
- org.keycloak.testframework » keycloak-test-framework-core29 usages
- org.keycloak » keycloak-model-infinispan28 usages
- org.keycloak » keycloak-dependencies-server-all22 usages
- org.keycloak » keycloak-quarkus-server11 usages
- org.keycloak.testframework » keycloak-test-framework-remote11 usages
- org.hawkular.accounts » hawkular-accounts-feature-pack11 usages
- org.keycloak » keycloak-model-map11 usages
- org.keycloak.testframework » keycloak-test-framework-junit5-config10 usages
- org.keycloak » keycloak-wildfly-adapter-dist10 usages
- org.keycloak » keycloak-server-feature-pack8 usages
- org.keycloak » keycloak-server-overlay8 usages
- org.keycloak » keycloak-testsuite-integration8 usages
- org.keycloak » keycloak-saml-servlet-filter-adapter7 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-2575 | nvd.nist.gov |
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak issue #46372 | github.com |
| Web | keycloak/keycloak commit 4f90ef6 | github.com |
| Web | errata/RHSA-2026:3947 | access.redhat.com |
| Web | errata/RHSA-2026:3948 | access.redhat.com |
| Web | errata/RHSA-2026:76128 | access.redhat.com |
| Web | errata/RHSA-2026:76129 | access.redhat.com |
| Web | errata/RHSA-2026:76130 | access.redhat.com |
| Web | errata/RHSA-2026:76132 | access.redhat.com |
| Web | errata/RHSA-2026:76134 | access.redhat.com |
| Web | security/cve/CVE-2026-2575 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
