kdcproxy DoS via Unbounded TCP Response Length (CVE-2025-59089)
CVE-2025-59089 Published on November 12, 2025
Python-kdcproxy: remote dos via unbounded tcp upstream buffering
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.
Vulnerability Analysis
CVE-2025-59089 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 65 days later.
Weakness Type
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Products Associated with CVE-2025-59089
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-59089 are published in these products:
Affected Versions
latchset kdcproxy:- Before 1.1.0 is affected.
- Version 0:1.0.0-19.el10_1 and below * is unaffected.
- Version 0:1.0.0-19.el10_0 and below * is unaffected.
- Version 0:0.3.2-3.el7_9.3 and below * is unaffected.
- Version 8100020251103113748.143e9e98 and below * is unaffected.
- Version 8100020251028161822.823393f5 and below * is unaffected.
- Version 8020020251106022345.792f4060 and below * is unaffected.
- Version 8040020251103205102.5b01ab7e and below * is unaffected.
- Version 8040020251103205102.5b01ab7e and below * is unaffected.
- Version 8060020251030180424.ada582f1 and below * is unaffected.
- Version 8060020251030180424.ada582f1 and below * is unaffected.
- Version 8060020251030180424.ada582f1 and below * is unaffected.
- Version 8080020251029082621.b0a6ceea and below * is unaffected.
- Version 8080020251029082621.b0a6ceea and below * is unaffected.
- Version 0:1.0.0-9.el9_7 and below * is unaffected.
- Version 0:1.0.0-7.el9_0.1 and below * is unaffected.
- Version 0:1.0.0-7.el9_2.1 and below * is unaffected.
- Version 0:1.0.0-7.el9_4.1 and below * is unaffected.
- Version 0:1.0.0-9.el9_6 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.