Infinite loop in Keycloak - CVE-2026-8798

 

Infinite loop in Keycloak - CVE-2026-8798

Published: November 19, 2026


Vulnerability identifier: #VU167855
CSH Severity: Low
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-8798
CWE-ID: CWE-835
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to potentially disrupt application operations that depend on native entropy.

The vulnerability exists due to an unbounded retry loop in the Bouncy Castle FIPS native entropy source when entropy instructions on Intel platforms repeatedly report failure. A local user can encounter an application hang when an operation that draws from this source cannot complete.


Affected software

Keycloak

How to mitigate CVE-2026-8798

Install security update from vendor's website.

Keycloak - update to 26.7.5

External References

Related Security Bulletins