CVE-2025-59089
Description
If an attacker causes kdcproxy to connect to an attacker-controlled KDC server (e.g. through server-side request forgery), they can exploit the fact that kdcproxy does not enforce bounds on TCP response length to conduct a denial-of-service attack. While receiving the KDC's response, kdcproxy copies the entire buffered stream into a new buffer on each recv() call, even when the transfer is incomplete, causing excessive memory allocation and CPU usage. Additionally, kdcproxy accepts incoming response chunks as long as the received data length is not exactly equal to the length indicated in the response header, even when individual chunks or the total buffer exceed the maximum length of a Kerberos message. This allows an attacker to send unbounded data until the connection timeout is reached (approximately 12 seconds), exhausting server memory or CPU resources. Multiple concurrent requests can cause accept queue overflow, denying service to legitimate clients.
How to fix
- latchset kdcproxy1.1.0 or later
- access.redhat.com/errata/RHSA-2025:21138
- access.redhat.com/errata/RHSA-2025:21139
- access.redhat.com/errata/RHSA-2025:21140
- access.redhat.com/errata/RHSA-2025:21141
- access.redhat.com/errata/RHSA-2025:21142
- access.redhat.com/errata/RHSA-2025:21448
- access.redhat.com/errata/RHSA-2025:21748
- access.redhat.com/errata/RHSA-2025:21806
- access.redhat.com/errata/RHSA-2025:21818
- access.redhat.com/errata/RHSA-2025:21819
- access.redhat.com/errata/RHSA-2025:21820
- access.redhat.com/errata/RHSA-2025:21821
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| latchset kdcproxy | v < 1.1.0 | 1.1.0 |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support | No range specified | — |
| Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support | No range specified | — |
| enterprise_linux 8 | No range specified | — |
| rhel_aus 8.2 | No range specified | — |
| rhel_aus 8.4 | No range specified | — |
| rhel_aus 8.6 | No range specified | — |
| rhel_e4s 8.8 | No range specified | — |
| enterprise_linux 9 | No range specified | — |
| rhel_e4s 9.0 | No range specified | — |
| rhel_e4s 9.2 | No range specified | — |
| rhel_eus 9.4 | No range specified | — |
| rhel_eus 9.6 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.